Svbtle theme is a close copy of Svbtle.com with a few minor changes for use with Pelican.
You can see the theme in action, or the site code here.
- syntax highlighting for code blocks
- Google Analytics
- Disqus commenting
- custom list of links
- no IE testing
- no custom menu
- header date format is hardcoded in
./templates/header.htmlwith the exception of articles.
Download the repository and save it somewhere accessible. Edit settings.py and modify the THEME variable to point to the downloaded theme location.
Please refer to Pelican theme install instructions.
These are the Pelican global variables currently supported by the theme:
GOOGLE_ANALYTICSDISQUS_SITENAMELINKS(('name1', 'url1'), ('name2', 'url2'))DEFAULT_DATE_FORMAT = ('%b %d, %Y'): suggested date formatFEED_DOMAIN = SITEURL
When developing locally, set the following variable:
SITEURL = http://localhost:8000
-
Accent color can be changed by editing
@accentin./static/css/style.less. -
A different Pygmentize theme can be used by editing
./Makefileand runningmake pygments.
William Ting
Released under MIT License, full details in LICENSE file.