set a SITEURL to enable proper functioning of home link

deploying is supposed to happen via publishconf anyways
mainline
Trolli Schmittlauch 2022-03-01 02:17:20 +01:00
parent 5d44c02e3d
commit b1189c7a91
2 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@ AUTHOR = 'Trolli Schmittlauch'
SITENAME = 'Schmittlauchs Blog & Homepage'
SITETITLE = 'schmittlauch'
SITESUBTITLE = 'Tech, Politik & Leben'
SITEURL = ''
SITEURL = 'http://127.0.0.1:8000'
SITELOGO = '/images/avatar.png'
FAVICON = '/images/favicon.svg'
@ -32,7 +32,7 @@ DISPLAY_PAGES_ON_MENU = False
DISPLAY_CATEGORIES_ON_MENU = False
MAIN_MENU = True
MENUITEMS = (
("Blog", SITEURL + "/blog/"),
("Blog", "/blog/"),
("Archives", "/archives.html"),
("Categories", "/categories.html"),
("Tags", "/tags.html"),

View File

@ -10,7 +10,7 @@ sys.path.append(os.curdir)
from pelicanconf import *
# If your site is available via HTTPS, make sure SITEURL begins with https://
SITEURL = ''
SITEURL = 'https://schmittlau.ch'
RELATIVE_URLS = False
FEED_ALL_ATOM = 'feeds/all.atom.xml'