commit | 5f1fc2488dc0fa0aefc158a88abda9bc125f884d | [log] [tgz] |
---|---|---|
author | Giulio Fidente <gfidente@gmail.com> | Wed Aug 21 14:30:17 2013 -0700 |
committer | Giulio Fidente <gfidente@gmail.com> | Wed Aug 21 14:30:17 2013 -0700 |
tree | 23e248fff8b8eed26871f3c057dc56dd0a51f166 | |
parent | 069c6d69b8c69647291d3ab7a1ca81142d390749 [diff] | |
parent | 2c25ad472b2aeb1b79a552a3df71d7f3a1d0e001 [diff] |
Merge pull request #2 from xqwzts/disqus-comments Enabled Disqus comments on articles if DISQUS_SITENAME property is set.
pelican-svbhack is a responsive theme for Pelican, it is my hack of a svbtle-like theme.
You can see the theme in action.
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
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 to SITEURL + '/static/images/your_logo.png'
DISQUS_SITENAME
set this to enable disqus comments in articles
COLLAPSE_COMMENTS
set to True
to have article comments hidden by default. Clicking on the comments
link will toggle visibility.
TAGLINE
some text rendered right below the logo
INTERNET_DEFENSE_LEAGUE
set this to True
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
@accent
in ./static/css/style.less
../Makefile
and running make pygments
.pelican-svbhack is authored by Giulio Fidente.
Released under MIT License, full details in LICENSE
file.