2022-08-28 18:56:24 +02:00
from sys import path
from os import curdir
path . append ( curdir )
from filters import add_lightboxes , add_sidenotes
2022-08-29 20:11:53 +02:00
from datetime import date
DATE = str ( date . today ( ) )
2022-08-28 18:56:24 +02:00
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 '
2023-04-25 11:39:23 +02:00
PAGE_URL = ' {slug} / '
PAGE_SAVE_AS = ' {slug} /index.html '
2022-08-28 18:56:24 +02:00
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
2023-04-25 11:39:23 +02:00
LINKS = ( ( ' credits ' , ' /credits ' ) ,
( ' imprint ' , ' /imprint ' ) ,
( ' privacy ' , ' /privacy ' ) , )
2022-08-28 18:56:24 +02:00
DEFAULT_PAGINATION = False
# dev settings
RELATIVE_URLS = True
DELETE_OUTPUT_DIRECTORY = True
JINJA_FILTERS = { ' add_lightboxes ' : add_lightboxes ,
' add_sidenotes ' : add_sidenotes }