pelican-website-ge/pelicanconf.py

61 lines
1.2 KiB
Python
Raw Normal View History

2021-04-27 20:13:11 +02:00
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
2021-04-29 21:09:29 +02:00
2021-04-27 20:13:11 +02:00
AUTHOR = 'idaapayo'
SITENAME = 'grassroots-pelican'
SITEURL = ''
PATH = 'content'
TIMEZONE = 'Africa/Nairobi'
DEFAULT_LANG = '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', 'https://getpelican.com/'),
('Python.org', 'https://www.python.org/'),
('Jinja2', 'https://palletsprojects.com/p/jinja/'),
('You can modify those links in your config file', '#'),)
# Social widget
SOCIAL = (('You can add links in your config file', '#'),
('Another social link', '#'),)
DEFAULT_PAGINATION = 10
2021-08-05 20:05:10 +02:00
DISPLAY_PAGES_ON_MENU = True
2021-04-27 20:13:11 +02:00
LOAD_CONTENT_CACHE = False
2021-04-29 21:09:29 +02:00
2021-05-03 17:48:53 +02:00
THEME = "ge-theme"
2021-08-05 20:05:10 +02:00
PAGE_ORDER_BY = 'page-order'
2021-08-17 14:43:06 +02:00
STATIC_PATHS = [
'images',
2021-09-17 09:02:18 +02:00
'extra',
2021-08-17 14:43:06 +02:00
]
EXTRA_PATH_METADATA = {
'extra/favicon.ico': {'path': 'favicon.ico'},
'extra/robots.txt': {'path': 'robots.txt'},
}
2021-08-05 20:05:10 +02:00
2021-04-29 21:09:29 +02:00
2021-05-06 19:56:25 +02:00
THEME_STATIC_PATHS = ['static']
2021-09-17 09:02:18 +02:00
# CSS_FILE = ['style.css']
2021-05-06 19:56:25 +02:00
2021-05-27 17:43:18 +02:00
OUTPUT_RETENTION = [".hg",".git","CNAME"]
2021-05-06 19:56:25 +02:00
2021-04-27 20:13:11 +02:00
# Uncomment following line if you want document-relative URLs when developing
2021-05-06 19:56:25 +02:00
RELATIVE_URLS = True