t-r.de/publishconf.py

31 lines
747 B
Python

# This file is only used if you use `make publish` or
# explicitly specify it as your config file.
import os
import sys
sys.path.append(os.curdir)
from pelicanconf import *
FONT_SOURCE = "cdn"
STYLESHEET_FILES = ("pico." + PICO_COLOR + ".min.css", "font." + FONT_SOURCE + ".css", CUSTOM_CSS)
# If your site is available via HTTPS, make sure SITEURL begins with https://
SITEURL = "https://tobias-radloff.de"
RELATIVE_URLS = False
#FEED_ALL_ATOM = "feeds/all.atom.xml"
#CATEGORY_FEED_ATOM = "feeds/{slug}.atom.xml"
DELETE_OUTPUT_DIRECTORY = True
# Following items are often useful when publishing
# DISQUS_SITENAME = ""
# GOOGLE_ANALYTICS = ""
# get event list from calendar(s)
sys.path.append(os.curdir + "/utils")
import refresh_events