set a SITEURL to enable proper functioning of home link

deploying is supposed to happen via publishconf anyways
mainline
Trolli Schmittlauch 9 months ago
parent 5d44c02e3d
commit b1189c7a91
  1. 4
      pelicanconf.py
  2. 4
      publishconf.py

@ -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"),

@ -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'
@ -21,4 +21,4 @@ DELETE_OUTPUT_DIRECTORY = True
# Following items are often useful when publishing
#DISQUS_SITENAME = ""
#GOOGLE_ANALYTICS = ""
#GOOGLE_ANALYTICS = ""

Loading…
Cancel
Save