This is the latest version of the default theme for Felix Felicis.
Require Felix Felicis 3.0+
$ sudo pip install -U liquidluck
$ liquidluck install octopress
$ liquidluck install lepture/octopress
$ liquidluck install lepture/octopress -g
Git clone this repo, and place it in your blog:
your_blog/
settings.yml
content/
_themes/
octopress/
You can use git submodule for convience:
$ git submodule add git://github.com/lepture/liquidluck-theme-octopress.git _themes/octopress
Edit your settings.py, change your theme to octopress
.
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,
}
}
}