58 lines
1.4 KiB
Python
58 lines
1.4 KiB
Python
from sys import path
|
|
from os import curdir
|
|
path.append(curdir)
|
|
from filters import add_lightboxes, add_sidenotes
|
|
|
|
from datetime import date
|
|
|
|
DATE = str(date.today())
|
|
|
|
AUTHOR = 'Error'
|
|
SITENAME = 'Undefined Behavior'
|
|
SITEURL = ''
|
|
ABSTRACT = "If, as Adam Savage famously put it, the only difference between screwing around and science is writing it down, I should probably write about my projects somewhere. I'll just do it here."
|
|
FAVICON = 'favicon.svg'
|
|
STATIC_PATHS = ['favicon.svg']
|
|
|
|
TIMEZONE = 'Europe/Rome'
|
|
DEFAULT_DATE_FORMAT = '%Y-%m-%d'
|
|
DEFAULT_LANG = 'en'
|
|
|
|
THEME = 'undefined-pelican-theme'
|
|
PATH = 'content'
|
|
|
|
ARTICLE_URL = 'posts/{slug}/'
|
|
ARTICLE_SAVE_AS = 'posts/{slug}/index.html'
|
|
PAGE_URL = '{slug}/'
|
|
PAGE_SAVE_AS = '{slug}/index.html'
|
|
AUTHOR_URL = ''
|
|
AUTHOR_SAVE_AS = ''
|
|
AUTHORS_SAVE_AS = ''
|
|
CATEGORY_URL = ''
|
|
CATEGORY_SAVE_AS = ''
|
|
CATEGORIES_SAVE_AS = ''
|
|
TAG_URL = ''
|
|
TAG_SAVE_AS = ''
|
|
TAGS_SAVE_AS = ''
|
|
ARCHIVES_SAVE_AS = ''
|
|
|
|
# Feed generation settings
|
|
FEED_ALL_ATOM = 'feeds/atom.xml'
|
|
CATEGORY_FEED_ATOM = None
|
|
TRANSLATION_FEED_ATOM = None
|
|
AUTHOR_FEED_ATOM = None
|
|
AUTHOR_FEED_RSS = None
|
|
|
|
LINKS = (('credits', '/credits'),
|
|
('imprint', '/imprint'),
|
|
('privacy', '/privacy'),)
|
|
|
|
DEFAULT_PAGINATION = False
|
|
|
|
# dev settings
|
|
RELATIVE_URLS = True
|
|
DELETE_OUTPUT_DIRECTORY = True
|
|
|
|
JINJA_FILTERS = {'add_lightboxes': add_lightboxes,
|
|
'add_sidenotes': add_sidenotes}
|