This is the mod of liquidluck classic theme Lovely (original for liquidluck 0.2/0.3).
Tested in Felix Felicis 3.5+
$ liquidluck install microjo/lovelymod
$ liquidlcuk install microjo/lovelymod -g
Git clone this repo, and place it in your blog:
your_blog/
settings.py
content/
_themes/
lovelymod/
You can use git submodule for convience:
$ git submodule add git://github.com/microjo/liquidluck-theme-lovelymod.git _themes/lovelymod
Edit your settings:
-
change your theme to
lovelymod
theme = { 'name': 'lovelymod', }
-
set category template to
category.html
writer = { 'vars': { 'category_template': 'category.html', } }
You can customize your theme with theme.vars
.
-
Change Navigation (default)
theme = { 'vars': [ 'navigation': [ {'id': 'nav-home', 'icon': 'icon-home', 'name': 'Home', 'link': '/'}, {'id': 'nav-about', 'icon': 'icon-info-sign', 'name': 'About', 'link': '/about.html'}, {'id': 'nav-tags', 'icon': 'icon-tag', 'name': 'Tags', 'link': '/tag/'} ] ] }
- id: navigation item id, unique, for css id atrribute.
- icon: leave it blank or you can use any icon in Font Awesome.
-
Google Analytics
theme = { 'vars': { 'analytics': 'UA-xxxx', } }
-
Disqus Comment Support
theme = { 'vars': { 'disqus': 'your-disqus-shortname', } }
-
Gravatar
theme = { 'vars': { 'gravatar': 'your-gravatar-email', } }
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,
}
}