Theme based on material design for pelican static blog generator
HTML CSS JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
static
templates
.gitignore
LICENSE.txt
README.md

README.md

pelican-material

Material is a pelican theme based on Materialize, a material design framework.

Dependencies

Dependencies are managed through bower. Once you have bower, you are only one command away to use the theme.

Run this command from the static directory:

bower install

Configuration

This template uses a cutom filter to sort tags by article count. You need to add this to your config:

from functools import partial
JINJA_FILTERS = {
    'sort_by_article_count': partial(
        sorted,
        key=lambda tags: len(tags[1]),
        reverse=True)} # reversed for descending order

You will probably want to use pelican-materialbox, a pelican plugin to use materialboxed from Materialize.

License

MIT