#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals

AUTHOR = u'kwdfmzhu'
SITENAME = u"kwdfmzhu的后花园"
SITEURL = 'http://kwdfmzhu.github.io/'

PATH = 'content'
TIMEZONE = 'Asia/Shanghai'

DEFAULT_LANG = u'zh'
DATE_FORMATS = {'zh':'%Y-%m-%d'}

GITHUB_URL = 'https://github.com/kwdfmzhu'

#THEME = 'bootstrap2'
#THEME = 'cebong'
#THEME = 'pelican-bootstrap3'
#THEME = 'pelican-hss' #OK
#THEME = 'pelican-fresh'
THEME = 'tuxlite_tbs'
#
#ITELOGO = 'images/logo.png'
#FAVICON = 'images/logo.png'

FEED_ALL_RSS =  'feeds/all.rss.xml'

# Feed generation is usually not desired when developing
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None

# Blogroll
LINKS = (
            ('Google', 'https://www.google.com/ncr'),
            ('Python', 'http://python.org/'),
            ('Pelican', 'http://docs.getpelican.com/'),
        )

# Social widget
SOCIAL = (
            ('Github', 'https://github.com/kwdfmzhu'),
            (u'知乎', 'http://www.zhihu.com/people/kwdfmzhu'),
         )

DEFAULT_PAGINATION = 10

# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True


PLUGIN_PATHS = [u"/home/zhukewei/pelican-plugins"]
PLUGINS = ["sitemap"]
SITEMAP = {
    "format": "xml",
    "priorities": {
        "articles": 0.7,
        "indexes": 0.5,
        "pages": 0.3,
    },
    "changefreqs": {
        "articles": "monthly",
        "indexes": "daily",
        "pages": "monthly",
    }
}

DISQUS_SITENAME = "kwdfmzhu"

