Skip to content

the mod of liquidluck classic theme Lovely (original for liquidluck 0.2/0.3)

Notifications You must be signed in to change notification settings

microjo/liquidluck-theme-lovelymod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lovely Theme for Felix Felicis

This is the mod of liquidluck classic theme Lovely (original for liquidluck 0.2/0.3).

Installation

Tested in Felix Felicis 3.5+

Install with liquidluck

$ liquidluck install microjo/lovelymod
$ liquidlcuk install microjo/lovelymod -g

Install by yourself

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

your_blog/
    settings.py
    content/
    _themes/
        lovelymod/

Install with git submodule

You can use git submodule for convience:

$ git submodule add git://github.com/microjo/liquidluck-theme-lovelymod.git _themes/lovelymod

Configuration

Edit your settings:

  1. change your theme to lovelymod

    theme = {
    	'name': 'lovelymod',
    }
  2. set category template to category.html

    writer = {
        'vars': {
            'category_template': 'category.html',
        }
    }

Customize

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/'}
             ]
         ]
     }
    1. id: navigation item id, unique, for css id atrribute.
    2. 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',
         }
     }

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,
    }
}

About

the mod of liquidluck classic theme Lovely (original for liquidluck 0.2/0.3)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages