2
0
mirror of https://github.com/offen/website.git synced 2024-10-18 20:20:24 +02:00
website/homepage/publishconf.py

25 lines
632 B
Python
Raw Normal View History

2019-05-21 09:41:23 +02:00
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
# 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 *
# If your site is available via HTTPS, make sure SITEURL begins with https://
2019-09-11 12:44:51 +02:00
SITEURL = os.environ.get('SITEURL', 'https://www.offen.dev')
2019-09-05 11:18:42 +02:00
# RELATIVE_URLS = True
2019-05-21 09:41:23 +02:00
FEED_ALL_ATOM = 'feeds/all.atom.xml'
CATEGORY_FEED_ATOM = 'feeds/{slug}.atom.xml'
DELETE_OUTPUT_DIRECTORY = True
PLUGINS += ['optimize_images']
OFFEN_ACCOUNT_ID = "5ec8345a-2a45-4eb9-92e5-8d9e5684db58"