Open JohnGriffiths opened 10 years ago
@JohnGriffiths I've looked at the link you provided. Although in Octopress it is straight forward to include a header image this will not work for Pelican!
As far as I understand the SASS files are not taken into account in the Pelican port, maybe they are left overs. If you modify them then you need to parse them and create a CSS file which then gets used by the browser. We could use one of the Python bindings for libsass but them it needs to have all the context from Pelican as well (settings, article metadata, etc). And I bet this will fail once you decide to have a different header image for another article (because the CSS isn't per-article, it's global).
I can easily provide a patch to configure a background-image style on the element though. Depending on the size of you images the layout may or may not look appropriate.
Hi.
Thanks very much for the excellent port.
I'd like to use this theme and include an image header.
There's a handy overview of how to do this for octopress blogs here http://blog.bigdinosaur.org/changing-octopresss-header/
Most of which seems to work because the sass component is, as I understand it, unchanged in the pelican port.
However I'm still finding it tricky to get the various options working here.
I was wondering if anyone has implemented or seen header images in a pelican+octopress-theme blog, which I could use for reference?
Ta.