Skip to content

A clean room copy of Svbtle.com's design for use with Pelican.

License

Notifications You must be signed in to change notification settings

wting/pelican-svbtle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SVBTLE

Svbtle theme is a close copy of Svbtle.com with a few minor changes for use with Pelican.

DEMO

You can see the theme in action in this blog post. The theme code is available here, or the website code here.

theme screenshot

FEATURES

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

KNOWN ISSUES

  • no IE testing (only Chrome / FF / Opera)
  • no pages feature
  • no custom menu
  • header date format is hardcoded in ./templates/header.html with the exception of articles which uses DEFAULT_DATE_FORMAT

INSTALL

FROM SOURCE

Download the repository and save it somewhere accessible. Edit settings.py and modify the THEME variable to point to the downloaded theme location.

FROM OFFICIAL REPO

Please refer to Pelican theme install instructions.

SETTINGS.PY

These are the Pelican global variables currently supported by the theme:

  • GOOGLE_ANALYTICS
  • DISQUS_SITENAME
  • LINKS(('name1', 'url1'), ('name2', 'url2'))
  • DEFAULT_DATE_FORMAT = ('%b %d, %Y'): suggested date format
  • FEED_DOMAIN = SITEURL

MODIFICATION

  • 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

William Ting

LICENSE

Released under MIT License, full details in LICENSE file.

About

A clean room copy of Svbtle.com's design for use with Pelican.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published