NOTE: This is a fork of the original pelican-hyde theme altered for my personal website.
You can see a live demo here
This template automatically concatenates and minifies all css files.
pip install webassets cssmin
Install the assets pelican plugin.
Activate the plugin:
PLUGIN_PATHS = ['pelican-plugins'] # Or wherever you installed the plugin PLUGINS = ['assets']
GitHub pages currently (2017-05-24) only caches resources for 10 mins. So if you are hosting your website on GitHub you may want to disable the caching behavior of
webassets to simplify the minified css:
# Disable caching and versioning of static resources since GitHub pages # caches stuff for only 10 mins ASSET_CONFIG = ( ('url_expire', False), ('manifest', False), ('cache', False), )