You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.7 KiB
60 lines
1.7 KiB
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*- #
|
|
from __future__ import unicode_literals
|
|
|
|
# Misc Settings
|
|
AUTHOR = u'wxcafé'
|
|
SITENAME = u'Wxcafé'
|
|
SITEURL = '//wxcafe.net'
|
|
TIMEZONE = 'Europe/Paris'
|
|
DEFAULT_LANG = u'fr'
|
|
DEFAULT_PAGINATION = 10
|
|
THEME="./themes/pelican-clean-blog"
|
|
HEADER_COVER = SITEURL + '/theme/cover.png'
|
|
COLOR_SCHEME_CSS = 'monokai.css'
|
|
|
|
# URL settings
|
|
ARTICLE_URL = "posts/{slug}/"
|
|
ARTICLE_SAVE_AS = "posts/{slug}/index.html"
|
|
PAGE_URL = "pages/{slug}/"
|
|
PAGE_SAVE_AS = "pages/{slug}/index.html"
|
|
CATEGORY_URL = "category/{slug}/"
|
|
CATEGORY_SAVE_AS = "category/{slug}/index.html"
|
|
|
|
# Feeds settings
|
|
FEED_RSS = "feeds/feed.rss.xml"
|
|
FEED_ATOM = "feeds/feed.atom.xml"
|
|
CATEGORY_FEED_ATOM = None
|
|
AUTHOR_FEED_ATOM = None
|
|
AUTHOR_FEED_RSS = None
|
|
FEED_ALL_ATOM = None
|
|
RSS_FEED_SUMMARY_ONLY = False
|
|
|
|
MARKDOWN = {
|
|
'extension_configs': {
|
|
'markdown.extensions.codehilite': {
|
|
'linenums': False,
|
|
'guess_lang': True,
|
|
'noclasses': True,
|
|
'pygments_style': 'monokai'
|
|
},
|
|
'markdown.extensions.smarty': {},
|
|
'markdown.extensions.extra': {},
|
|
},
|
|
'output_format': 'html5',
|
|
}
|
|
|
|
# Social
|
|
SOCIAL = (
|
|
('twitter', 'https://twitter.com/wxcafe'),
|
|
('pencil-square-o', 'https://social.wxcafe.net/@wxcafe'),
|
|
('git', 'https://git.wxcafe.net/wxcafe'),
|
|
('envelope', 'mailto://wxcafe@wxcafe.net'),
|
|
('key', 'https://pub.wxcafe.net/wxcafe.asc'),
|
|
('map-o', 'https://www.openstreetmap.org/node/2511020426'),
|
|
('code', 'https://git.wxcafe.net/wxcafe/blog-source'),
|
|
)
|
|
|
|
# Categories on right-side bar but not on top menu
|
|
DISPLAY_CATEGORIES_ON_MENU = False
|
|
DISPLAY_CATEGORIES_ON_BAR = True
|
|
|