From 110a06e0aa84b5b8a8e280588424edf62fd099cf Mon Sep 17 00:00:00 2001 From: Audric Schiltknecht Date: Mon, 11 Aug 2025 20:31:11 -0400 Subject: Maj pelican & thème MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- publishconf.py | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'publishconf.py') 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 = "" -- cgit v1.2.3-70-g09d2