octopress theme for Felix Felicis
JavaScript Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
static
templates
README.md
filters.py
theme.py

README.md

Octopress Theme for Felix Felicis

This is the latest version of the default theme for Felix Felicis.

Installation

Require Felix Felicis 3.0+

$ sudo pip install -U liquidluck

Install with liquidluck

$ liquidluck install octopress
$ liquidluck install lepture/octopress
$ liquidluck install lepture/octopress -g

Install by yourself

Git clone this repo, and place it in your blog:

your_blog/
    settings.yml
    content/
    _themes/
        octopress/

Install with git submodule

You can use git submodule for convience:

$ git submodule add git://github.com/lepture/liquidluck-theme-octopress.git _themes/octopress

Configuration

Edit your settings.py, change your theme to octopress.

Customize

You can customize your theme with theme.vars.

  • Change Navigation (example)
theme = {
    'vars': {
        'navigation': [
            {'name': 'Home', 'link': '/'},
            {'name': 'Life', 'link': '/life/'},
            {'name': 'Work', 'link': '/work/'},
        ],
    }
}
  • Google Analytics
theme = {
    'vars': {
        'analytics': 'UA-xxxx',
    }
}
  • Disqus Comment Support
theme = {
    'vars': {
        'disqus': 'your-disqus-shortname',
    }
}
  • Twitter and GitHub
theme = {
    'vars': {
        'twitter': {
            'user': 'lepture',
            'limit': 5,
        },
        'github': {
            'user': 'lepture',
            'limit': 5,
        }
    }
}