pelican-website-ge/pelicanconf.py

52 lines
1.0 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-04-29 21:09:29 +02:00
2021-05-06 19:56:25 +02:00
THEME_STATIC_PATHS = ['static']
CSS_FILE = ['style.css']
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