Go to file
Raymond Wanyoike d911f0b813 Reference my up to date fork 2016-11-29 16:17:21 +03:00
alchemy Reference my up to date fork 2016-11-29 16:17:21 +03:00
LICENSE Adjust headings, theme options, format code 2016-11-07 00:21:36 +03:00
README.md Update README to list features, settings 2016-11-29 15:05:39 +03:00
screenshot.png Progressive 2014-05-29 01:01:22 +03:00

README.md

pelican-alchemy

pelican-alchemy is a functional, clean, responsive theme for the Pelican static site generator. It is heavily inspired by crowsfoot and clean-blog, and is powered by Bootstrap (v3.x).

Features

  • Core Pygments styles
  • External analytics (Google Analytics, Gauges, Piwik)
  • External comments (Disqus)
  • realfavicongenerator package support
  • Font icons (Font Awesome)
  • No external dependencies
  • No JavaScript (excl. Analytics & Comments)
  • Packaged webfonts
  • Simple Jinja2 templates
  • sitemap.xml support

Installation

First:

$ git clone git@github.com:nairobilug/pelican-alchemy.git

Then:

Point the THEME variable in your pelican config to the alchemy folder inside the repo (/path/to/pelican-alchemy/alchemy).

Settings

Unless otherwise specified, settings that refer to paths can be either absolute or relative to the configuration file.

SITESUBTITLE

Subtitle that appears in the header:

SITESUBTITLE = 'A magical \u2728 Pelican theme'

SITEIMAGE

Image that appears in the header:

SITEIMAGE = '/images/profile.png'

You can also force the image size:

SITEIMAGE = '/images/profile.svg width=200 height=200'

DESCRIPTION

Index <meta name="description" content="...">:

DESCRIPTION = 'A functional, clean, responsive theme for Pelican. Heavily ' \
              'inspired by crowsfoot and clean-blog, powered by Bootstrap.'

A list of tuples (Title, URL) for menu links:

LINKS = (
    ('Pelican', 'http://getpelican.com/'),
    ('Python.org', 'http://python.org/'),
    ('Jinja2', 'http://jinja.pocoo.org/'),
)

ICONS

A list of tuples (Icon, URL) for icon links:

ICONS = (
    ('feed', '/feeds/all.atom.xml'),
    ('github', 'https://github.com/nairobilug/pelican-alchemy'),
)

A Font Awesome icon without the fa- prefix.

PYGMENTS_STYLE

You can choose one of the built-in Pygments styles for syntax highlighting.

By default the default style is used:

PYGMENTS_STYLE = 'default'

The following styles are available:

  • algol
  • algol_nu
  • autumn
  • borland
  • bw
  • colorful
  • default
  • emacs
  • friendly
  • fruity
  • igor
  • lovelace
  • manni
  • monokai
  • murphy
  • native
  • paraiso-dark
  • paraiso-light
  • pastie
  • perldoc
  • rrt
  • tango
  • trac
  • vim
  • vs
  • xcode

For a demo of the different styles, click here.

HIDE_AUTHORS

Hide the author(s) of an article - useful for single author sites:

HIDE_AUTHORS = True

NEW_FAVICONS

Use a realfavicongenerator favicon package:

NEW_FAVICONS = True

Other Settings

DISQUS_SITENAME = '...'
GAUGES = '...'
GOOGLE_ANALYTICS = '...'
PIWIK_URL = '...'
PIWIK_SITE_ID = '...'

An RSS icon will also appear on header if FEED_ALL_ATOM is set.