summaryrefslogtreecommitdiffstats
path: root/publishconf.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-07-05 15:53:09 -0400
committerDavid Robillard <d@drobilla.net>2022-07-13 15:11:14 -0400
commit0406fc824708f7ca94a5d0702008f385c7382d21 (patch)
treed161fac0b6e2431594c07dd83c55ec9d27a62028 /publishconf.py
parent41b9ded90fa0f6007fbc7432e49aa698136b4610 (diff)
downloadlv2site-0406fc824708f7ca94a5d0702008f385c7382d21.tar.xz
Update Pelican configuration
Diffstat (limited to 'publishconf.py')
-rw-r--r--publishconf.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/publishconf.py b/publishconf.py
index 1576ef7..3e358ca 100644
--- a/publishconf.py
+++ b/publishconf.py
@@ -1,7 +1,3 @@
-#!/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.
@@ -10,11 +6,12 @@ import sys
sys.path.append(os.curdir)
from pelicanconf import *
+# If your site is available via HTTPS, make sure SITEURL begins with https://
SITEURL = 'https://lv2plug.in'
RELATIVE_URLS = False
FEED_ALL_ATOM = 'feeds/all.atom.xml'
-CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml'
+CATEGORY_FEED_ATOM = 'feeds/{slug}.atom.xml'
DELETE_OUTPUT_DIRECTORY = True