pelican-svbhack is a responsive theme for Pelican, it is my hack of a svbtle-like theme.
You can see the theme in action.
- syntax highlighting for pre blocks
- supports google analytics
- custom list of links
- no IE testing
- no custom menu
Clone the repository, edit your
pelicanconf.py and modify the
THEME variable to make it point to the downloaded theme location.
Supports a number of common global variables but patches are welcomed if you need better support.
GOOGLE_ANALYTICSyour UA-XYZ code
USER_LOGO_URLyou don't need to replace the logo placeholder, instead put your logo in content/images/your_logo.png and make this point to
SITEURL + '/static/images/your_logo.png'
DISQUS_SITENAMEset this to enable disqus comments in articles
Trueto have article comments hidden by default. Clicking on the
commentslink will toggle visibility.
TAGLINEsome text rendered right below the logo
INTERNET_DEFENSE_LEAGUEset this to
Trueif you want to enable the Internet Defense League code
When developing locally, you may want to set the following variable:
SITEURL = http://localhost:8000
- Accent color can be changed by editing
- A different Pygmentize theme can be used by editing
pelican-svbhack is authored by Giulio Fidente.
Released under MIT License, full details in