Theme based on material design for Pelican a static blog generator written in python.
CSS JavaScript HTML Python
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 33 commits ahead, 1 commit behind greizgh:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
sbin
static
templates
.gitignore
README.md
package.json
tasks.py

README.md

thomomys

Thomomys is a pelican theme based on pelican-material which is based on Materialize, a material design framework.

It uses Material Design Lite to do most of the heavy lifting.

Required Configuration

This template uses a custom 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

Optional Configuration

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

Dependencies

A straight up checkout of the theme should just work, however npm is setup if you want to mess with stuff.

Run this command from theme's root directory:

npm

License

MIT