captainarkdotnet/pelicanconf.py
2016-01-31 13:43:06 +01:00

68 lines
1.9 KiB
Python

#!/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'
# 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 = (('Pelican', 'http://getpelican.com/'),
('Python.org', 'http://python.org/'),
('Jinja2', 'http://jinja.pocoo.org/'),
('You can modify those links in your config file', '#'),)
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = True
THEME = '/Users/captainark/Documents/projects/pelican-themes/pelican-clean-blog'
SITESUBTITLE = u'Yet Another Blog about Linux and Networking'
# Add items to top menu before pages
MENUITEMS = [
('Homepage', '/'),
('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 = [
'.well-known',
'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'),
('facebook',' https://www.facebook.com/captainark'),
('google-plus','https://plus.google.com/+CaptainarkNet47'),
('youtube','https://www.youtube.com/user/thecaptainark'),
('steam','https://steamcommunity.com/id/captainark'),
('twitch','http://www.twitch.tv/captainark'),
('lastfm','http://www.last.fm/user/captainark')
)
DISQUS_SITENAME = "captainark"