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 = 'pages/{slug}/' PAGE_SAVE_AS = 'pages/{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', '/pages/credits'), ('imprint', '/pages/imprint'), ('privacy', '/pages/privacy'),) DEFAULT_PAGINATION = False # dev settings RELATIVE_URLS = True DELETE_OUTPUT_DIRECTORY = True JINJA_FILTERS = {'add_lightboxes': add_lightboxes, 'add_sidenotes': add_sidenotes}