Svbtle theme is a close copy of Svbtle.com with a few minor changes for use with Pelican and to suit the author's tastes.
Clone or download
Pull request Compare This branch is 14 commits ahead, 25 commits behind wting:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
static
templates
LICENSE
Makefile
README.md
screenshot.png

README.md

Pelican-Svbtle

Svbtle theme is a close copy of the design of Svbtle.com with a few minor changes for use with Pelican and to suit Kevin Richardson's personal tastes.

DEMO

You can see the theme in action, or the site code here.

theme screenshot

FEATURES

  • syntax highlighting for code blocks
  • Google Analytics
  • custom list of links

INSTALLATION

Download or clone the repository. Edit pelicanconf.py and modify the THEME variable to point to the downloaded theme location.

PELICANCONF.PY

The following are the Pelican global variables currently supported by the theme. You may wish to view Kevin Richardson's pelicanconf.py for more information.

sidebar settings

  • note: listed in the order shown in the template
  • LOGO_URL -- the URL of the logo for the site.
  • TAGLINE -- the text to display underneath AUTHOR in the left-hand menu.
  • DISPLAY_PAGES_ON_MENU = True/False. If True, display a list of pages defined within content/pages
  • MENUITEMS -- (('name1', 'url1'), ('name2', 'url2'))
  • LINKS -- (('name1', 'url1'), ('name2', 'url2'))`

other

  • DEFAULT_DATE_FORMAT = ('%b %d, %Y') -- date format for post publication dates
  • FEED_DOMAIN = SITEURL. The prefix URL for the Atom/RSS feeds.
  • FEED_ATOM -- ATOM feed name. ex: 'feeds/all.atom.xml'
  • FEED_RSS -- RSS feed name. ex: 'feeds/all.rss'
  • HEADER_MESSAGE -- the text to display in the header of the homepage. Defaults to "Have a great day."
  • GOOGLE_ANALYTICS -- the site's Google Analytics key string.

When developing locally, set the following variable:

SITEURL = http://localhost:8000

MODIFICATION

  • Accent color can be changed by editing @accent in ./static/css/style.less. You will need to install lessc via node package manager (npm install -g lessc) or a similar tool to compile the LESS stylesheet into a CSS stylesheet via make less.

  • A different Pygmentize theme can be used by editing ./Makefile and running make pygments.

AUTHORS

LICENSE

Released under the MIT License. See full details in the LICENSE file.

KNOWN ISSUES

  • no IE testing
  • no custom menu