pelican-svbtle-responsive is a responsive theme for Pelican, it is my hack of a svbtle-like theme.
You can see the theme in action.
- responsive design
- comments via disqus
- syntax highlighting for code blocks
- support for google analytics
- custom list of links
- support for twitter cards
- semantic Markups for google, facebook and twitter
- no custom menu
- better typography
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
your UA-XYZ code -
TWITTER_USERNAME
your twitter username (optional) -
GOOGLE_PLUS_PROFILE_URL
your google plus profile url (optional) -
USER_LOGO_URL
you don't need to replace the logo placeholder, instead put your logo in content/images/your_logo.png and make this point toSITEURL + '/static/images/your_logo.png'
-
DISQUS_SITENAME
set this to enable disqus comments in articles -
COLLAPSE_COMMENTS
set toTrue
to have article comments hidden by default. Clicking on thecomments
link will toggle visibility. -
TAGLINE
some text rendered right below the logo -
INTERNET_DEFENSE_LEAGUE
set this toTrue
if you want to enable the Internet Defense League code -
COPY_TEXT_PLUS
set this toTrue
if you want to addRead More at page-url
when a text from the blog article is copied by someone.
npm install
gulp
- Accent color can be changed by editing
@accent
in./static/css/style.less
. - A different Pygmentize theme can be used by editing
./Makefile
and runningmake pygments
.
pelican-svbtle-responsive is authored by Saurabh Kumar (@thes_kumar)
It is a fork of pelican-svbhack authored by Giulio Fidente.
Released under MIT License, full details in LICENSE
file.