Skip to content
Pelican theme based on Hyde Jekyll theme
CSS HTML
Branch: master
Clone or download
Pull request Compare This branch is 27 commits ahead, 7 commits behind jvanz:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
static/css
templates
LICENSE
README.md
screenshot.png

README.md

pelican-hyde

NOTE: This is a fork of the original pelican-hyde theme altered for my personal website.

The pelican-hyde is a Pelican theme inspired on the beautiful Hyde Jekyll theme

You can see a live demo here

Screenshot

Requirements

This template automatically concatenates and minifies all css files.

  1. Install the webassets and cssmin packages:

     pip install webassets cssmin
    
  2. Install the assets pelican plugin.

  3. Activate the plugin:

PLUGIN_PATHS = ['pelican-plugins']      # Or wherever you installed the plugin
PLUGINS = ['assets']

GitHub Pages

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),
)
You can’t perform that action at this time.