Tweak pagination width
1 file changed
tree: c5fc7e8a813a44fde62a1136feb4b478b071f40f
  1. .gitignore
  2. LICENSE
  3. Makefile
  4. README.md
  5. screenshot.png
  6. static/
  7. templates/
README.md

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

  • GOOGLE_PLUS_URL A link to your Google+ profile. Used for the Google Authorship feature.

  • USER_LOGO_URL you don't need to replace the logo placeholder, just change this to point to another image. Can be local or remote.`

  • 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

  • SCROLL_TO_CONTENT If this is set to True, when the content is below the sidebar (for example, on mobile), the page will be scrolled down to the content when it loads. An exception is made for the home page.

  • FORCE_PIXELS Some screens (mostly mobiles) don't use pixels directly and scale based on the concept of a "display pixel". Setting this to true tells the device to use actual pixels. Enable with care.

  • MANGLE_EMAILS If enabled, any emails in the SOCIAL links will be obfuscated in HTML and have their links generated by JavaScript when the page loads.

  • GLOBAL_KEYWORDS A list of strings that will be set as keywords for each page

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.