Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.07 KB

README.md

File metadata and controls

42 lines (28 loc) · 1.07 KB

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