Giter VIP home page Giter VIP logo

pelican-svbtle's Introduction

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, or the site code here.

theme screenshot

FEATURES

  • syntax highlighting for code blocks
  • Google Analytics
  • Disqus commenting
  • custom list of links
  • support for this LaTeX plugin

KNOWN ISSUES

  • no IE testing
  • no custom menu
  • header date format is hardcoded in ./templates/header.html with the exception of articles.
  • Svbtle uses Freight-Sans-Pro for article titles and Proxima Nova for body. While they are great fonts, neither are free. I've linked to them in case the client has them installed, but most users will browse the site with Open Sans.

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
  • GAUGES_ANALYTICS
  • DISQUS_SITENAME
  • LINKS(('name1', 'url1'), ('name2', 'url2'))
  • DEFAULT_DATE_FORMAT = ('%b %d, %Y'): suggested date format
  • FEED_DOMAIN = SITEURL
  • AUTHOR_BIO, providing a short bio that appears on the side bar.

When developing locally, set the following variable:

SITEURL = http://localhost:8000

If you want to enable LaTeX support, additional settings must be configured.

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.

pelican-svbtle's People

Contributors

cnborn avatar doublemalt avatar dstengele avatar gaucheph avatar jensrantil avatar pajowu avatar toumorokoshi avatar wting avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.