However, the Attila theme displays the feature image behind the title of the blogpost and this can cause issues with legibility of the post title and/or text in the feature image. The default Ghost theme;Casper does not have this problem, as demonstrated below:
As an aside, you will occasionally find that you may need to use or find it useful to use !important when trying to override existing CSS e.g. width: 50% !important; however that would certainly not be the case here.
Many themes for Ghost are built using Gulp. Gulp is a tool for processing files, most commonly front-end files such as CSS and JavaScript. While Ghost can use CSS and JavaScript files without any modification sometimes these files can get a bit large, so breaking these files into smaller ones and letting Gulp merge them together can really help.
Amazing!! That worked for me. Thank you so much. I think the only thing I did differently from before was my theme had been previously activated. I wonder if that caused the issue. Do you know if activating writes to a config somewhere? That info would be useful to debug in future.
HEADER_COVER property is deprecated. Work around will be use HOME_COVER and use cover in individual articles.This property will be used if there is no cover image set to an article, page, tag, category, author.
HEADER_COLOR property is deprecated. Work around will be use HOME_COLOR and use color in individual articles.This property will be used if there is no HEADER_COVER and cover image set to an article, page, tag, category, author.
To customize Twitter card images, insert the metadata twitter_image,otherwise header_cover, HEADER_COVER or a default image from themewill be used. Twitter cards will be generated automatically if thetwitter account is configured in SOCIAL!
Greetings! You are here, that means you want to change your default pelican theme. The procedure is really easy. But what takes time, is choosing a new theme from a large number of available themes out there. In this post, find out how to add or remove these customized pelican blog themes.
For this, just open your pelicanconf.py available in your blog directory and define the path to your new theme by adding the following statement at the end of pelicanconf.py file:
Because, there exist some configuration options which are specific to the theme we choose. In this case, the theme is Attila, and in there docs, all the configuration option are mentioned here and in their README.
For me, choosing a new theme for anything is hectic and fun together. After trying so many pelican themes. I finally selected Pelican-Clean-Blog theme by Gilson Filho. If you want to see, my pelican blog is available at:
Theme My Ghost
Themes and assets by third parties are properties of their sole owners. We do not have any rights over them, and we do not sell them directly on this website. We provide the affiliate purchase link, and the actual purchase will take place on the theme owner's choice of payment platform. We might receive a small commission on your purchase without affecting your price. All brand assets and logos including, but not limited to, Envato, Themeforest, Gumroad, Github, Creative Market, Ghost, Lemon Squeezy, and any Ghost developer logo including, but not limited to, Biron Themes, Aspire Themes, Fueko, Driff, GBJ Solution, and other Ghost developers/agencies not mentioned here, are the intellectual property of their sole owners. We are enrolled in some of their affiliate programs. Ghost and the logo are the sole properties of the Ghost Foundation. The Ghost logo, used anywhere on this website, is an affiliate link. All logos and intellectual properties are copyrighted/trademarked by their respective owners. By using this website, you accept our below policies.
Attila was a made-for-cable miniseries focusing on the life of Attila the Hun, which aired earlier this year on the USA Network. Directed by Dick Lowry, who had directed a slew of TV movies, including the "In the Line of Duty" series of films, the film starred Gerard Butler as Attila the Hun and Powers Booth as Flavius Aetius, and owed much to Braveheart and Gladiator. The score by Nick Glennie-Smith is a fun action score, but it too is clearly inspired by Gladiator and other Media Ventures action scores.
"The Legend" is one of the longer (6:30) cues, and it's loaded with Glennie-Smith's touch. Considering he was one of the principle composers on The Rock and other Media Ventures action projects, that action-touch is clearly evident in much of the score. The music is highly thematic, but only somewhat exciting; the strong similarity to Gladiator (and therefore Holst's "The Planets") is a little too obvious for my liking. But the strong themes abound throughout the score: "Attila The Man", "N'Kara's Theme", "Attila The King", and "Ildico's Theme" all sport themes you can hum.
The action cues are definitely the highlights of the album: "Battle", "Duel To Death", "Battle Of Orleans", and "Attila Attack" are pure fun, and worth the cost of the album. There are also a bunch of more emotional cues on the score as well. "To Rome", "Wedding Day" and the stirring finale in "The King Is Dead" all allow Glennie-Smith to flex his musical muscles. One major advantage this score had over the other Media Ventures projects is that the score never felt synthesized or fake. Performed by The Budapest Film Orchestra, the performance is top notch and very real indeed. The soundtrack is released on the Super Tracks label, and is available from If you are debating between Attila and More Music from Gladiator, go for Attila. It may be similar in style, but at least it's something new.
I've created my own blog.html template to render the content in the way I want. I started by copying and pasting the code from the 'simple' theme that comes with Pelican to get me started, but even though it is unchanged I'm getting an 'articles_page' is undefined error when I try to build.
The problem can have a good number of very diverse reasons. In my case it was not a problem with the configuration of the pelican tooling, but rather an error in the metadata of some of my content pages. I had not included the correct category, date or tag fields. You'd never guess that from the error message now, would you?
In my case the reason was an issue which has been closed but not merged in the current release of the Attila theme. More precisely: the error is caused by a template in the templates folder of the theme which has a wrong reference inside it. In the specific case, inside the page template there was a wrong reference to article.
If this problem crops up, the easiest solution is to make sure the guard condition evaluates to True. Most likely, the problem is that template_name is not in PAGINATED_TEMPLATES in your configuration file. I opened writers.py, added a print(f"template_name is template_name") and got my answer (I didn't have author : None in my PAGINATED_TEMPLATES dictionary).
Writing articles and tutorials are a great way to learn new things in depth while building a portfolio. In this tutorial, you will find the first steps that you will need to start your data science blog with Pelican and Jupyter Notebooks.
Data Science lives and breathes from communicating your findings, presenting reports and discussing results and new insights. A blog is a great way to engage in this discussion. David Robinson wrote a great article explaining much better how a blog could help you.
For more details on the installation, have a look at the installation guide. After the installation, you are ready to create a Pelican project. First, you need to create the folder for your project and then you can run inside the folder the command:
There are many existing themes out there that you can use right away with Pelican. You can find on Pelican Themes a whole list of great themes to choose from. To install a theme simply create a folder called themes inside the project folder and inside there you can clone a theme from Github. Here is how you would do that for the attila theme:
Pelican can be extended with various features for almost any kind of need. You can find most plugins in the Pelican Plugins repository. To add the plugins to your project, you can add it as a git submodule in the following way:
This would generate a sitemap on the for the URL BASEURL/sitemap.xml, where your BASEURL would be localhost:8000 when testing. For more information about Pelican plugins, have a look at the documentation.
Now you can use Jupyter Notebooks instead of Markdown files. There are a couple of ways to add metadata to your notebooks. You can add the metadata in an additional metadata file with the same file name and the same format as in the markdown file but with .nbdata extension. Another option is to add the metadata in a cell in the notebook. Before you can do that you need to enable this mode by adding IPYNB_USE_METACELL = True to your configuration. Then you can add the metadata in the first notebook cell in markdown mode like this:
Finally, the last way to add metadata is by directly modifying the metadata tag in the raw notebook file. Jupyter Notebooks are stored as JSON documents and inside them, you will find a "metadata" tag, where you can add the metadata directly. It is also possible to edit the metadata with Jupyter Notebook. If you are using JupyterLab, you can edit the metadata of the notebooks with the jupyterlab-nbmetadata plugin. Make sure to have a look at the documentation for more details on how to provide the notebook with metadata.
You can host your website directly on GitHub with GitHub Pages. Before we get started, you have to create a repository in GitHub with username.github.io, where you should replace username with your username on GitHub. After you have set up your website in the previous steps, you can add this repository as a submodule in the output folder:
c80f0f1006