Skip to content
This repository has been archived by the owner on Feb 20, 2022. It is now read-only.

greizgh/pelican-material

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Theme based on material design for pelican static blog generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published