liquidluck default theme
CSS 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 Style up with yue.css Aug 15, 2013
templates Style up with yue.css Aug 15, 2013
.gitignore add ignore Jun 21, 2012
README.md update theme Sep 21, 2012
filters.py update for Felix Felicis 3.0 Sep 12, 2012
theme.py update theme Sep 21, 2012

README.md

Moment Theme for Felix Felicis

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

Installation

Requires Felix Felicis 3.4+

Install with liquidluck

$ liquidluck install lepture/moment
$ liquidlcuk install lepture/moment -g

Install by yourself

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

your_blog/
    settings.py
    content/
    _themes/
        moment/

Install with git submodule

You can use git submodule for convience:

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

Configuration

Edit your settings, change your theme to moment.

Customize

You can customize your theme with theme.vars.

  • Change Navigation (example)
theme = {
    'vars': [
        'navigation': [
            {'name': 'Home', 'link': '/'},
            {'name': 'Life', 'link': '/life/'},
        ]
    ]
}
  • Google Analytics
theme = {
    'vars': {
        'analytics': 'UA-xxxx',
    }
}
  • Disqus Comment Support
theme = {
    'vars': {
        'disqus': 'your-disqus-shortname',
    }
}
  • Tagcloud support, active tagcloud:

404

You can create a file in your source directory (content) named 404.md.

# 404

- template: 404.html

----------------

You content here.

Configure your nginx, add:

error_page 404 /404.html;

You can google for more information.

Allow comment

If you post is not public, this post will not be allowed to comment. If you want to allow people to comment on your secret post, set

theme = {
    'vars': {
        'allow_comment_on_secret_post': True
    }
}

Write a Review

This theme supports review microdata.

Write your post:

# title

- date: 2012-12-12
- review: movie or book title
- rating: 4

------------

content

Rating is optional, the max rating is 5.