2019-10-02 11:13:26 +02:00
|
|
|
from datetime import datetime
|
|
|
|
from calendar import month_name
|
2019-05-26 21:59:05 +02:00
|
|
|
# If your site is available via HTTPS, make sure SITEURL begins with https://
|
|
|
|
RELATIVE_URLS = False
|
|
|
|
|
2019-05-21 09:41:23 +02:00
|
|
|
AUTHOR = 'offen'
|
2019-05-21 23:01:57 +02:00
|
|
|
SITENAME = 'offen'
|
2019-05-21 09:41:23 +02:00
|
|
|
PATH = 'content'
|
2019-05-21 23:01:57 +02:00
|
|
|
TIMEZONE = 'Europe/Berlin'
|
2019-05-21 09:41:23 +02:00
|
|
|
DEFAULT_LANG = 'en'
|
|
|
|
|
2019-10-02 11:13:26 +02:00
|
|
|
BUILD_DATE = '{} {}'.format(month_name[datetime.today().month], datetime.today().year)
|
|
|
|
|
2019-05-21 09:41:23 +02:00
|
|
|
# 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
|
|
|
|
|
2019-10-21 22:23:34 +02:00
|
|
|
SITEURL = 'http://localhost:8000'
|
|
|
|
|
2019-05-21 23:01:57 +02:00
|
|
|
# pagination
|
2019-05-21 09:41:23 +02:00
|
|
|
DEFAULT_PAGINATION = False
|
|
|
|
|
2019-05-31 16:50:23 +02:00
|
|
|
THEME = './theme'
|
2019-05-24 09:17:16 +02:00
|
|
|
|
|
|
|
# Delete the output directory before generating new files.
|
|
|
|
DELETE_OUTPUT_DIRECTORY = True
|
|
|
|
|
2019-05-31 16:50:23 +02:00
|
|
|
# dont create following standard pages
|
2019-05-24 10:24:40 +02:00
|
|
|
AUTHORS_SAVE_AS = None
|
|
|
|
ARCHIVES_SAVE_AS = None
|
|
|
|
CATEGORIES_SAVE_AS = None
|
|
|
|
TAGS_SAVE_AS = None
|
2019-05-24 09:17:16 +02:00
|
|
|
|
2019-06-01 14:07:43 +02:00
|
|
|
# keep this for access to page variable
|
2019-10-21 22:23:34 +02:00
|
|
|
DIRECT_TEMPLATES = ['sitemap']
|
|
|
|
SITEMAP_SAVE_AS = 'sitemap.xml'
|
2019-07-16 15:41:47 +02:00
|
|
|
|
2019-10-19 20:46:44 +02:00
|
|
|
PLUGIN_PATHS = ['./plugins']
|
2019-12-06 16:55:54 +01:00
|
|
|
PLUGINS = ['decorate_content', 'assets']
|
2019-10-20 08:38:31 +02:00
|
|
|
|
2019-12-06 16:55:54 +01:00
|
|
|
DECORATE_CONTENT = {
|
|
|
|
# maps any CSS selector to a list of classes to be added
|
|
|
|
# 'p': ['pv0', 'dim']
|
|
|
|
}
|
2019-10-19 20:46:44 +02:00
|
|
|
|
2019-07-26 12:05:08 +02:00
|
|
|
GITHUB_ORG = 'https://github.com/offen'
|
2019-10-17 14:52:54 +02:00
|
|
|
CONTACT_EMAIL = 'hioffen@posteo.de'
|
|
|
|
GPG_KEY_FILE = '74B041E23DB29D552644CEB1B18C633D6967FE3F.asc'
|
2019-10-19 20:46:44 +02:00
|
|
|
PATREON_URL = 'https://www.patreon.com/offen'
|
|
|
|
LINKEDIN_URL = 'https://www.linkedin.com/company/hioffen'
|
|
|
|
TWITTER_URL = 'https://twitter.com/hioffen'
|
2019-09-27 20:49:44 +02:00
|
|
|
|
|
|
|
OFFEN_ACCOUNT_ID = '9b63c4d8-65c0-438c-9d30-cc4b01173393'
|
2019-12-12 20:30:03 +01:00
|
|
|
|
2019-12-12 20:47:48 +01:00
|
|
|
STATUS_URL = '/blog/laying-foundation-for-fair-web-analytics'
|