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

AUTHOR = u'liudonghua123'
SITENAME = u'Opensource of Ynu'
SITEURL = ''
# SITEURL = 'http://www.opensource.ynu.edu.cn'

PATH = 'content'

TIMEZONE = 'Asia/Shanghai'

DEFAULT_LANG = u'zh'

THEME = u'./themes/pelican-bootstrap3'

STATIC_PATHS = [
    'images',
    'extra/robots.txt',
    'extra/favicon.ico',
    'extra/CNAME'
]
EXTRA_PATH_METADATA = {
    'extra/robots.txt': {'path': 'robots.txt'},
    'extra/favicon.ico': {'path': 'favicon.ico'},
    'extra/CNAME': {'path': 'CNAME'}
}

#
# Settings in order on https://github.com/liudonghua123/pelican-bootstrap3
#

# Pygments
PYGMENTS_STYLE = u'colorful'

# Pagination
USE_PAGER = True

# Bootstrap fluid layout
BOOTSTRAP_FLUID = True

# Site Brand
# SITELOGO = 'images/site_logo.png'
# SITELOGO_SIZE = 100
# SITENAME = 'YNUOSA'

# Breadcrumbs
DISPLAY_BREADCRUMBS = True
DISPLAY_CATEGORY_IN_BREADCRUMBS = False

# Navbar
BOOTSTRAP_NAVBAR_INVERSE = True

# Related Posts

# Series

# Favicon
# FAVICON = 'images/favicon.png'

# Index page
DISPLAY_ARTICLE_INFO_ON_INDEX = False

# Short menu labels for pages

# About Me

# Banner Image
# BANNER = '/path/to/banner.png'
# BANNER_SUBTITLE = 'This is my subtitle'

# Sidebar options
# Blogroll
LINKS = ((u'云南大学', 'http://www.ynu.edu.cn/'),
          (u'信息技术中心', 'http://network.ynu.edu.cn/'),
          (u'清华大学TUNA协会', 'https://tuna.moe/'),)
# Social widget
SOCIAL = ((u'Github', 'https://github.com/opensource-yunnan-university', 'github'),
         (u'YNUOSA Github', 'https://github.com/ynuosa', 'github'),
         (u'YNU Github', 'https://github.com/ynu', 'github'),
         (u'YNUOSA', 'http://www.ynuosa.org/', 'xing'),)
DISPLAY_TAGS_ON_SIDEBAR = True
DISPLAY_TAGS_INLINE = True
DISPLAY_CATEGORIES_ON_SIDEBAR = True
DISPLAY_RECENT_POSTS_ON_SIDEBAR = True

# Content license
CC_LICENSE = "CC-BY"

# Tipue Search
DIRECT_TEMPLATES = ('index', 'categories', 'authors', 'archives', 'search')

# Sidebar Images

# 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


DEFAULT_PAGINATION = 10

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