Skip to content

jagmoreira/pelican-hyde

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

If you're using Pelican 3.7 or older and are using feeds then make sure to use {slug} instead of %s in your feed variables. For example:

CATEGORY_FEED_ATOM = 'feeds/{slug}.atom.xml'

See here for more information.

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),
)

About

Pelican theme based on Hyde Jekyll theme

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 61.9%
  • HTML 38.1%