A Bulma-based Pelican blog theme; clean, flexible and responsive.
The icons are from Font Awesome by Dave Gandy. The pure HTML/CSS "Fork me
on GitHub" ribbon is based on github-fork-ribbon-css
by Simon Whitaker; I
modified it to be flatter.
This theme requires an additional Python dependency, webassets
, which can
be added to your project with:
pip install webassets
It also requires two Jinja plugins, webassets
and the with
statement.
To implement this, I have the following in my pelicanconf.py
:
JINJA_EXTENSIONS = ['webassets.ext.jinja2.AssetsExtension', 'jinja2.ext.with_']
-
Responsive design - four column layout on desktop (≥980px), three column on tablet (≥769px), single column on mobile. Tabbed navigation bar collapses into drop-down "burger menu" on mobile.
-
Meta tagging functionality - support for Open Graph and Twitter Cards meta tags, giving enhanced display when sharing articles on social media sites (note: currently only available for articles and pages).