From 33f77a9e29579045e46cf644db2a2208b1523128 Mon Sep 17 00:00:00 2001 From: maxime Date: Tue, 10 Sep 2019 18:42:27 +0200 Subject: [PATCH] relative urls, no siteurl --- pelicanconf.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pelicanconf.py b/pelicanconf.py index a87a491..cada30b 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -4,7 +4,8 @@ from __future__ import unicode_literals AUTHOR = 'ms.leave-a-mix' SITENAME = 'freepoteries-doc' -SITEURL = 'http://doc.freepoteries.fr/freepoteries' +#SITEURL = 'https://doc.freepoteries.fr/freepoteries' +#we need to avoid hardcoding urls! PATH = 'content' @@ -31,5 +32,5 @@ LINKS = (('Freepoteries.fr', 'https://www.freepoteries.fr/'), DEFAULT_PAGINATION = False # Uncomment following line if you want document-relative URLs when developing -#RELATIVE_URLS = True +RELATIVE_URLS = True THEME="./theme"