captainarkdotnet/pelicanconf.py

61 lines
1.5 KiB
Python
Raw Normal View History

2016-01-31 13:43:06 +01:00
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'Antoine Joubert'
SITENAME = u'Sysadmining. All day. Every day.'
SITEURL = 'https://captainark.net'
PATH = 'content'
TIMEZONE = 'Europe/Paris'
DEFAULT_LANG = u'en'
2016-01-31 16:10:48 +01:00
FEED_ALL_ATOM = 'rss.xml'
2016-01-31 13:43:06 +01:00
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
2016-01-31 13:43:06 +01:00
THEME = 'themes/pelican-clean-blog'
2016-01-31 13:43:06 +01:00
SITESUBTITLE = u'Yet Another Blog about Linux and Networking'
# Add items to top menu before pages
MENUITEMS = [
('Homepage', '/'),
2016-01-31 16:10:48 +01:00
('RSS','/rss.xml'),
2016-01-31 13:43:06 +01:00
('Categories','/categories.html'),
]
# Static files
EXTRA_PATH_METADATA = {
'static/robots.txt': {'path': 'robots.txt'},
'static/favicon.ico': {'path': 'favicon.ico'},
'static/bg.png': {'path': 'bg.png'},
}
STATIC_PATHS = [
2016-02-02 23:16:42 +01:00
'images',
2016-01-31 13:43:06 +01:00
'static/robots.txt',
'static/favicon.ico',
'static/bg.png',
]
HEADER_COVER = '/bg.png'
COLOR_SCHEME_CSS = 'github.css'
# Social widget
SOCIAL = (
('envelope','mailto:contact@captainark.net'),
('twitter', 'https://twitter.com/captainark'),
('github', 'https://github.com/captainark'),
('lastfm','http://www.last.fm/user/captainark'),
2016-01-31 13:43:06 +01:00
('steam','https://steamcommunity.com/id/captainark'),
('twitch','http://www.twitch.tv/captainark')
2016-01-31 13:43:06 +01:00
)
2016-01-31 14:36:18 +01:00
DISQUS_SITENAME = "captainark"
2017-11-11 12:51:35 +01:00
PIWIK_URL = "captainark.net/p"
PIWIK_SITE_ID = "1"