This is a little bit modified pelican-svbhack theme for Pelican.
- theme palette - solarized dark
- code highlighting - half solarized dark, half custom
- added a couple of links in header - categories and tags
- added 'continue reading' button on index page. It appears after the article's summary
- I dropped out less stylesheet - I don't know less and too lazy to deal with it, so there is only CSS changed
- responsive
- 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_ANALYTICS
to use Google Analytics, set this var to your UA-XYZ code -
USER_LOGO_URL
to replace the logo placeholder, put your logo in content/images/your_logo.png and make this var point toSITEURL + '/static/images/your_logo.png'
-
ROUND_USER_LOGO
set this toTrue
to crop your logo to a circle and add a black border -
DISQUS_SITENAME
set this to your Disqus sitename to enable disqus comments in articles -
TAGLINE
some text rendered right below the logo -
INTERNET_DEFENSE_LEAGUE
set this toTrue
if you want to enable the Internet Defense League code
When developing locally, you may want to set the following variable: SITEURL = http://localhost:8000
pelican-svbhack is authored by Giulio Fidente. Little bit tuned by me.
Released under MIT License, full details in LICENSE
file.