diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 46c128f33d..38957990b4 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -1,12 +1,13 @@ baseURL = "https://example.com" -canonifyURLs = true +canonifyURLs = false +relativeURLs = true + languageCode = "en" defaultContentLanguage = "en" title = "Hugo Relearn Documentation" theme = "hugo-theme-relearn" themesdir = "../.." -relativeURLs = true [params] editURL = "https://github.com/McShelby/hugo-theme-relearn/edit/main/exampleSite/content/" @@ -48,7 +49,7 @@ relativeURLs = true [[Languages.en.menu.shortcuts]] name = " Showcases" - url = "/showcase/" + url = "showcase/" weight = 11 [[Languages.en.menu.shortcuts]] @@ -59,12 +60,12 @@ relativeURLs = true [[Languages.en.menu.shortcuts]] name = " Credits" - url = "/credits/" + url = "credits/" weight = 30 [[Languages.en.menu.shortcuts]] name = " Tags" - url = "/tags/" + url = "tags/" weight = 40 [Languages.pir] @@ -82,7 +83,7 @@ relativeURLs = true [[Languages.pir.menu.shortcuts]] name = " Showcases" - url = "/showcase/" + url = "showcase/" weight = 11 [[Languages.pir.menu.shortcuts]] @@ -93,10 +94,10 @@ relativeURLs = true [[Languages.pir.menu.shortcuts]] name = " Crrredits" - url = "/credits/" + url = "credits/" weight = 30 [[Languages.pir.menu.shortcuts]] name = " Arrr! Tags" - url = "/tags/" + url = "tags/" weight = 40 diff --git a/exampleSite/content/cont/menushortcuts.en.md b/exampleSite/content/cont/menushortcuts.en.md index a1ced9b7bb..18d1e3f0e4 100644 --- a/exampleSite/content/cont/menushortcuts.en.md +++ b/exampleSite/content/cont/menushortcuts.en.md @@ -20,7 +20,7 @@ weight = 10 [[menu.shortcuts]] name = " Showcases" -url = "/showcase/" +url = "showcase/" weight = 11 [[menu.shortcuts]] @@ -31,12 +31,12 @@ weight = 20 [[menu.shortcuts]] name = " Credits" -url = "/credits/" +url = "credits/" weight = 30 [[menu.shortcuts]] name = " Tags" -url = "/tags/" +url = "tags/" weight = 40 ```` @@ -75,7 +75,7 @@ Example from the current website: [[Languages.en.menu.shortcuts]] name = " Showcases" - url = "/showcase/" + url = "showcase/" weight = 11 [[Languages.en.menu.shortcuts]] @@ -86,12 +86,12 @@ Example from the current website: [[Languages.en.menu.shortcuts]] name = " Credits" - url = "/credits/" + url = "credits/" weight = 30 [[Languages.en.menu.shortcuts]] name = " Tags" - url = "/tags/" + url = "tags/" weight = 40 [Languages.pir] @@ -109,7 +109,7 @@ Example from the current website: [[Languages.pir.menu.shortcuts]] name = " Showcases" - url = "/showcase/" + url = "showcase/" weight = 11 [[Languages.pir.menu.shortcuts]] @@ -120,12 +120,12 @@ Example from the current website: [[Languages.pir.menu.shortcuts]] name = " Crrredits" - url = "/credits/" + url = "credits/" weight = 30 [[Languages.pir.menu.shortcuts]] name = " Arrr! Tags" - url = "/tags/" + url = "tags/" weight = 40 ````