t-r.de/pelicanconf.py
2025-02-04 20:54:22 +01:00

54 lines
1.4 KiB
Python

AUTHOR = 'Tobias Radloff'
SITENAME = 'Tobias Radloff'
SITESUBTITLE = "Schriftsteller"
SITETAG = "Schriftsteller"
SITEURL = "tobias-radloff.de"
PATH = "content"
ARTICLE_PATHS = ["posts"]
TIMEZONE = 'Europe/Berlin'
DEFAULT_LANG = 'de'
# 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
# Blogroll
LINKS = (
("Pelican", "https://getpelican.com/"),
("Python.org", "https://www.python.org/"),
("Jinja2", "https://palletsprojects.com/p/jinja/"),
("You can modify those links in your config file", "#"),
)
# Social widget
SOCIAL = (
("You can add links in your config file", "#"),
("Another social link", "#"),
)
DEFAULT_PAGINATION = 5
# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = True
THEME = "theme/"
DISPLAY_PAGES_ON_MENU = False
MENUITEMS = (
("Werke", "/werke/"),
("Neues", "/neues/"),
("Termine", "/termine/"),
("Autor", "/autor/"),
("Kontakt", "/kontakt/")
)
###############################################################################
# Self-defined Settings #
###############################################################################
STYLESHEET_FILES = ("pico.amber.css", "custom.css")