darrelclute / dcnet-theme-svbhack

customized pelican-svbhack for my sites

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SVBHACK

pelican-svbhack is a responsive theme for Pelican, it is my hack of a svbtle-like theme.

DEMO

You can see the theme in action.

FEATURES

  • responsive
  • syntax highlighting for pre blocks
  • supports google analytics
  • custom list of links

KNOWN ISSUES

  • no IE testing
  • no custom menu

INSTALL

Clone the repository, edit your pelicanconf.py and modify the THEME variable to make it point to the downloaded theme location.

PELICANCONF.PY

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

MODIFICATIONS

  • Accent color can be changed by editing @accent in ./static/css/style.less.
  • A different Pygmentize theme can be used by editing ./Makefile and running make pygments.

AUTHOR

pelican-svbhack is authored by Giulio Fidente.

LICENSE

Released under MIT License, full details in LICENSE file.

About

customized pelican-svbhack for my sites

License:MIT License


Languages

Language:HTML 62.2%Language:CSS 36.3%Language:Makefile 1.4%