blog/pelicanconf.py

52 lines
1.2 KiB
Python
Raw Normal View History

2019-04-22 11:35:20 +00:00
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
2019-04-22 17:22:17 +00:00
import os
2019-04-22 11:35:20 +00:00
AUTHOR = 'Fabrice Mouhartem'
2019-04-22 13:44:16 +00:00
SITENAME = 'fmouhart\'s blog'
2019-04-22 11:35:20 +00:00
SITEURL = ''
# Theme
THEME = "themes/clean-blog"
HEADER_COVER='images/cover_home.jpg'
HEADER_COLOR='black'
COLOR_SCHEME_CSS = 'monokai.css'
DISPLAY_PAGES_ON_MENU = False
DISPLAY_CATEGORIES_ON_MENU = True
2019-04-22 11:49:29 +00:00
FAVICON='images/lock.png'
2019-04-22 17:22:17 +00:00
## Footer
FOOTER_INCLUDE = 'myfooter.html'
IGNORE_FILES = [FOOTER_INCLUDE]
EXTRA_TEMPLATES_PATHS = [os.path.dirname(__file__)]
2019-04-22 11:35:20 +00:00
2019-04-22 17:22:17 +00:00
# Static paths
2019-04-22 11:35:20 +00:00
PATH = 'content'
2019-04-22 17:22:17 +00:00
STATIC_PATHS = ['images', 'examples',]
2019-04-22 11:35:20 +00:00
TIMEZONE = 'Europe/Paris'
DEFAULT_LANG = 'en'
DEFAULT_DATE_FORMAT = '%Y.%m.%d'
# 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', '#'),)
# Social widget
SOCIAL = ()
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True