2019-11-05 05:21:56 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
2020-11-04 04:26:47 +00:00
|
|
|
from gergelypolonkaieu_site.plugins import custom_roles
|
2019-11-05 05:21:56 +00:00
|
|
|
|
|
|
|
AUTHOR = 'Gergely Polonkai'
|
|
|
|
SITENAME = 'Gergely Polonkai'
|
|
|
|
SITEURL = ''
|
|
|
|
|
|
|
|
PATH = 'content'
|
|
|
|
STATIC_PATHS = [
|
|
|
|
'.well-known',
|
|
|
|
'failmeter',
|
|
|
|
'favicon.ico',
|
2020-01-15 11:58:05 +00:00
|
|
|
'images',
|
|
|
|
'gergely@polonkai.eu.asc',
|
2019-11-05 05:21:56 +00:00
|
|
|
'gerrit-dashboard-generator',
|
2020-01-15 11:58:05 +00:00
|
|
|
'gerrit-dashboard-generator/index.html',
|
2019-11-05 05:21:56 +00:00
|
|
|
'minari',
|
2020-01-15 11:58:05 +00:00
|
|
|
'minari/index.html',
|
|
|
|
'pgpkey',
|
2019-11-05 05:21:56 +00:00
|
|
|
'symbolon',
|
|
|
|
]
|
|
|
|
|
|
|
|
TIMEZONE = 'Europe/Budapest'
|
|
|
|
|
|
|
|
DEFAULT_LANG = 'en'
|
|
|
|
|
|
|
|
DEFAULT_METADATA = {
|
|
|
|
'status': 'draft',
|
|
|
|
}
|
|
|
|
|
|
|
|
# Feed generation is usually not desired when developing
|
|
|
|
FEED_ALL_ATOM = 'atom.xml'
|
|
|
|
CATEGORY_FEED_ATOM = '{slug}/atom.xml'
|
|
|
|
TRANSLATION_FEED_ATOM = None
|
|
|
|
AUTHOR_FEED_ATOM = None
|
|
|
|
AUTHOR_FEED_RSS = None
|
|
|
|
|
|
|
|
DISPLAY_PAGES_ON_MENU = True
|
|
|
|
|
|
|
|
# Blogroll
|
|
|
|
LINKS = (
|
|
|
|
('Pelican', 'http://getpelican.com/'),
|
|
|
|
('Python.org', 'http://python.org/'),
|
|
|
|
('Jinja2', 'http://jinja.pocoo.org/'),
|
|
|
|
)
|
|
|
|
|
2021-02-15 14:51:44 +00:00
|
|
|
HIDDEN_PAGES = (
|
|
|
|
'pages/appointments.rst',
|
|
|
|
)
|
2021-02-15 14:47:56 +00:00
|
|
|
|
2019-11-05 05:21:56 +00:00
|
|
|
# Social widget
|
|
|
|
SOCIAL = (
|
2021-02-15 14:36:31 +00:00
|
|
|
('Matrix', 'https://matrix.to/#/@gergely:polonkai.eu'),
|
|
|
|
('XMPP', 'xmpp:gergely@polonkai.eu?message'),
|
|
|
|
('Email', 'mailto:website@gergely.polonkai.eu'),
|
|
|
|
('Gitea', 'https://gitea.polonkai.eu/gergely/'),
|
2019-11-05 05:21:56 +00:00
|
|
|
('Liberapay', 'https://liberapay.com/gergelypolonkai'),
|
|
|
|
('Mastodon', 'https://social.polonkai.eu/@gergely'),
|
2021-02-15 14:36:31 +00:00
|
|
|
('Pay me a coffee', 'https://paypal.me/GergelyPolonkai/330'),
|
2019-11-05 05:21:56 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
DEFAULT_PAGINATION = 10
|
|
|
|
|
|
|
|
# Uncomment following line if you want document-relative URLs when developing
|
|
|
|
RELATIVE_URLS = True
|
|
|
|
USE_FOLDER_AS_CATEGORY = True
|
|
|
|
|
|
|
|
TAG_URL = 'tag/{slug}/'
|
|
|
|
TAG_SAVE_AS = 'tag/{slug}/index.html'
|
|
|
|
|
|
|
|
THEME = 'my_theme'
|
|
|
|
|
|
|
|
TYPOGRIFY = True
|
|
|
|
|
|
|
|
PLUGINS = [custom_roles]
|