diff options
author | Audric Schiltknecht <storm@chemicalstorm.org> | 2025-08-11 20:31:11 -0400 |
---|---|---|
committer | Audric Schiltknecht <storm@chemicalstorm.org> | 2025-08-11 20:31:44 -0400 |
commit | 110a06e0aa84b5b8a8e280588424edf62fd099cf (patch) | |
tree | a3a75d17ba5540610df8c2d4c77c28de9c239714 /publishconf.py | |
parent | c886955883cd81499cef6f7678e3cc75631ec09a (diff) | |
download | schiltknecht.org-110a06e0aa84b5b8a8e280588424edf62fd099cf.tar.gz schiltknecht.org-110a06e0aa84b5b8a8e280588424edf62fd099cf.tar.bz2 schiltknecht.org-110a06e0aa84b5b8a8e280588424edf62fd099cf.zip |
Maj pelican & thème
Diffstat (limited to 'publishconf.py')
-rw-r--r-- | publishconf.py | 18 |
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 = "" |