set a SITEURL to enable proper functioning of home link

deploying is supposed to happen via publishconf anyways
This commit is contained in:
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' SITENAME = 'Schmittlauchs Blog & Homepage'
SITETITLE = 'schmittlauch' SITETITLE = 'schmittlauch'
SITESUBTITLE = 'Tech, Politik & Leben' SITESUBTITLE = 'Tech, Politik & Leben'
SITEURL = '' SITEURL = 'http://127.0.0.1:8000'
SITELOGO = '/images/avatar.png' SITELOGO = '/images/avatar.png'
FAVICON = '/images/favicon.svg' FAVICON = '/images/favicon.svg'
@ -32,7 +32,7 @@ DISPLAY_PAGES_ON_MENU = False
DISPLAY_CATEGORIES_ON_MENU = False DISPLAY_CATEGORIES_ON_MENU = False
MAIN_MENU = True MAIN_MENU = True
MENUITEMS = ( MENUITEMS = (
("Blog", SITEURL + "/blog/"), ("Blog", "/blog/"),
("Archives", "/archives.html"), ("Archives", "/archives.html"),
("Categories", "/categories.html"), ("Categories", "/categories.html"),
("Tags", "/tags.html"), ("Tags", "/tags.html"),

View file

@ -10,7 +10,7 @@ sys.path.append(os.curdir)
from pelicanconf import * from pelicanconf import *
# If your site is available via HTTPS, make sure SITEURL begins with https:// # If your site is available via HTTPS, make sure SITEURL begins with https://
SITEURL = '' SITEURL = 'https://schmittlau.ch'
RELATIVE_URLS = False RELATIVE_URLS = False
FEED_ALL_ATOM = 'feeds/all.atom.xml' FEED_ALL_ATOM = 'feeds/all.atom.xml'
@ -21,4 +21,4 @@ DELETE_OUTPUT_DIRECTORY = True
# Following items are often useful when publishing # Following items are often useful when publishing
#DISQUS_SITENAME = "" #DISQUS_SITENAME = ""
#GOOGLE_ANALYTICS = "" #GOOGLE_ANALYTICS = ""