Skip to content

Theme based on material design for Pelican a static blog generator written in python.

Notifications You must be signed in to change notification settings

jachin/thomomys

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Theme based on material design for Pelican a static blog generator written in python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 68.4%
  • JavaScript 28.1%
  • HTML 3.1%
  • Python 0.4%