summaryrefslogtreecommitdiffstats
path: root/publishconf.py
diff options
context:
space:
mode:
Diffstat (limited to 'publishconf.py')
-rw-r--r--publishconf.py18
1 files changed, 8 insertions, 10 deletions
diff --git a/publishconf.py b/publishconf.py
index f27f40e..b28f0a2 100644
--- a/publishconf.py
+++ b/publishconf.py
@@ -1,24 +1,22 @@
-#!/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 *
-SITEURL = 'http://www.schiltknecht.org'
-RELATIVE_URLS = True
+# If your site is available via HTTPS, make sure SITEURL begins with https://
+SITEURL = "https://schiltknecht.org"
+RELATIVE_URLS = False
-FEED_ALL_ATOM = 'feeds/all.atom.xml'
-CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml'
+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 = ""
+# DISQUS_SITENAME = ""
+# GOOGLE_ANALYTICS = ""