🐛 fix: allow for relative paths everywhere

Allows hosting the page on subdirectories.
This commit is contained in:
welpo
2023-02-03 19:03:40 +01:00
parent 1c69169ef0
commit 049df81d6c
4 changed files with 9 additions and 9 deletions

View File

@@ -26,11 +26,11 @@ headerImage = ""
# The icon is display besides the menu text but is not necessary. It needs to be placed under "menu_icon" in the static "folder"
menu = [
{ name = "home", url = "/", weight = 1},
{ name = "tags", url = "/tags", weight = 1 },
{ name = "projects", url = "/projects", weight = 1 },
{ name = "home", url = "$BASE_URL/", weight = 1},
{ name = "tags", url = "$BASE_URL/tags", weight = 1 },
{ name = "projects", url = "$BASE_URL/projects", weight = 1 },
]
#The icons available can be found in "social_icons" in the "static" folder
socials = [
{ name = "github", url = "https://github.com/welpo/", icon = "github" },
]
]