Git Product home page Git Product logo

liquidluck-theme-moment's Introduction

Moment Theme for Felix Felicis

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

Installation

Install with liquidluck

$ liquidluck install moment

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.py, change your theme to:

theme = 'moment'

Customize

You can customize your theme with theme_variables.

  • Change Navigation (example)
theme_variables = {
    'navigation': [
        ('Home', '/'),
        ('Life', '/life/'),
        ('Work', '/work/'),
    ],
}
  • Google Analytics
theme_variables = {
    'analytics': 'UA-xxxx',
}
  • Disqus Comment Support
theme_variables = {
    'disqus': 'your-disqus-shortname',
}
  • Tagcloud support, active tagcloud:
writers = {
    'tagcloud': 'liquidluck.writers.core.TagCloudWriter',
    # disable tag writer
    # 'tag': None,
}

# change post tags link to tagcloud
theme_variables = {
    'tagcloud': True,  # default is False
}

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

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.

liquidluck-theme-moment's People

Contributors

francistm avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.