mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 09:43:06 +00:00
exampleSite: make configuration work from subfolder and canonifyURLs=false #163
This commit is contained in:
parent
3fbf06aabd
commit
2ec9dc70c8
2 changed files with 18 additions and 17 deletions
|
@ -1,12 +1,13 @@
|
||||||
baseURL = "https://example.com"
|
baseURL = "https://example.com"
|
||||||
canonifyURLs = true
|
canonifyURLs = false
|
||||||
|
relativeURLs = true
|
||||||
|
|
||||||
languageCode = "en"
|
languageCode = "en"
|
||||||
defaultContentLanguage = "en"
|
defaultContentLanguage = "en"
|
||||||
|
|
||||||
title = "Hugo Relearn Documentation"
|
title = "Hugo Relearn Documentation"
|
||||||
theme = "hugo-theme-relearn"
|
theme = "hugo-theme-relearn"
|
||||||
themesdir = "../.."
|
themesdir = "../.."
|
||||||
relativeURLs = true
|
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
editURL = "https://github.com/McShelby/hugo-theme-relearn/edit/main/exampleSite/content/"
|
editURL = "https://github.com/McShelby/hugo-theme-relearn/edit/main/exampleSite/content/"
|
||||||
|
@ -48,7 +49,7 @@ relativeURLs = true
|
||||||
|
|
||||||
[[Languages.en.menu.shortcuts]]
|
[[Languages.en.menu.shortcuts]]
|
||||||
name = "<i class='fas fa-fw fa-camera'></i> Showcases"
|
name = "<i class='fas fa-fw fa-camera'></i> Showcases"
|
||||||
url = "/showcase/"
|
url = "showcase/"
|
||||||
weight = 11
|
weight = 11
|
||||||
|
|
||||||
[[Languages.en.menu.shortcuts]]
|
[[Languages.en.menu.shortcuts]]
|
||||||
|
@ -59,12 +60,12 @@ relativeURLs = true
|
||||||
|
|
||||||
[[Languages.en.menu.shortcuts]]
|
[[Languages.en.menu.shortcuts]]
|
||||||
name = "<i class='fas fa-fw fa-bullhorn'></i> Credits"
|
name = "<i class='fas fa-fw fa-bullhorn'></i> Credits"
|
||||||
url = "/credits/"
|
url = "credits/"
|
||||||
weight = 30
|
weight = 30
|
||||||
|
|
||||||
[[Languages.en.menu.shortcuts]]
|
[[Languages.en.menu.shortcuts]]
|
||||||
name = "<i class='fas fa-fw fa-tags'></i> Tags"
|
name = "<i class='fas fa-fw fa-tags'></i> Tags"
|
||||||
url = "/tags/"
|
url = "tags/"
|
||||||
weight = 40
|
weight = 40
|
||||||
|
|
||||||
[Languages.pir]
|
[Languages.pir]
|
||||||
|
@ -82,7 +83,7 @@ relativeURLs = true
|
||||||
|
|
||||||
[[Languages.pir.menu.shortcuts]]
|
[[Languages.pir.menu.shortcuts]]
|
||||||
name = "<i class='fas fa-fw fa-camera'></i> Showcases"
|
name = "<i class='fas fa-fw fa-camera'></i> Showcases"
|
||||||
url = "/showcase/"
|
url = "showcase/"
|
||||||
weight = 11
|
weight = 11
|
||||||
|
|
||||||
[[Languages.pir.menu.shortcuts]]
|
[[Languages.pir.menu.shortcuts]]
|
||||||
|
@ -93,10 +94,10 @@ relativeURLs = true
|
||||||
|
|
||||||
[[Languages.pir.menu.shortcuts]]
|
[[Languages.pir.menu.shortcuts]]
|
||||||
name = "<i class='fas fa-fw fa-bullhorn'></i> Crrredits"
|
name = "<i class='fas fa-fw fa-bullhorn'></i> Crrredits"
|
||||||
url = "/credits/"
|
url = "credits/"
|
||||||
weight = 30
|
weight = 30
|
||||||
|
|
||||||
[[Languages.pir.menu.shortcuts]]
|
[[Languages.pir.menu.shortcuts]]
|
||||||
name = "<i class='fas fa-fw fa-tags'></i> Arrr! Tags"
|
name = "<i class='fas fa-fw fa-tags'></i> Arrr! Tags"
|
||||||
url = "/tags/"
|
url = "tags/"
|
||||||
weight = 40
|
weight = 40
|
||||||
|
|
|
@ -20,7 +20,7 @@ weight = 10
|
||||||
|
|
||||||
[[menu.shortcuts]]
|
[[menu.shortcuts]]
|
||||||
name = "<i class='fas fa-fw fa-camera'></i> Showcases"
|
name = "<i class='fas fa-fw fa-camera'></i> Showcases"
|
||||||
url = "/showcase/"
|
url = "showcase/"
|
||||||
weight = 11
|
weight = 11
|
||||||
|
|
||||||
[[menu.shortcuts]]
|
[[menu.shortcuts]]
|
||||||
|
@ -31,12 +31,12 @@ weight = 20
|
||||||
|
|
||||||
[[menu.shortcuts]]
|
[[menu.shortcuts]]
|
||||||
name = "<i class='fas fa-fw fa-bullhorn'></i> Credits"
|
name = "<i class='fas fa-fw fa-bullhorn'></i> Credits"
|
||||||
url = "/credits/"
|
url = "credits/"
|
||||||
weight = 30
|
weight = 30
|
||||||
|
|
||||||
[[menu.shortcuts]]
|
[[menu.shortcuts]]
|
||||||
name = "<i class='fas fa-fw fa-tags'></i> Tags"
|
name = "<i class='fas fa-fw fa-tags'></i> Tags"
|
||||||
url = "/tags/"
|
url = "tags/"
|
||||||
weight = 40
|
weight = 40
|
||||||
````
|
````
|
||||||
|
|
||||||
|
@ -75,7 +75,7 @@ Example from the current website:
|
||||||
|
|
||||||
[[Languages.en.menu.shortcuts]]
|
[[Languages.en.menu.shortcuts]]
|
||||||
name = "<i class='fas fa-fw fa-camera'></i> Showcases"
|
name = "<i class='fas fa-fw fa-camera'></i> Showcases"
|
||||||
url = "/showcase/"
|
url = "showcase/"
|
||||||
weight = 11
|
weight = 11
|
||||||
|
|
||||||
[[Languages.en.menu.shortcuts]]
|
[[Languages.en.menu.shortcuts]]
|
||||||
|
@ -86,12 +86,12 @@ Example from the current website:
|
||||||
|
|
||||||
[[Languages.en.menu.shortcuts]]
|
[[Languages.en.menu.shortcuts]]
|
||||||
name = "<i class='fas fa-fw fa-bullhorn'></i> Credits"
|
name = "<i class='fas fa-fw fa-bullhorn'></i> Credits"
|
||||||
url = "/credits/"
|
url = "credits/"
|
||||||
weight = 30
|
weight = 30
|
||||||
|
|
||||||
[[Languages.en.menu.shortcuts]]
|
[[Languages.en.menu.shortcuts]]
|
||||||
name = "<i class='fas fa-fw fa-tags'></i> Tags"
|
name = "<i class='fas fa-fw fa-tags'></i> Tags"
|
||||||
url = "/tags/"
|
url = "tags/"
|
||||||
weight = 40
|
weight = 40
|
||||||
|
|
||||||
[Languages.pir]
|
[Languages.pir]
|
||||||
|
@ -109,7 +109,7 @@ Example from the current website:
|
||||||
|
|
||||||
[[Languages.pir.menu.shortcuts]]
|
[[Languages.pir.menu.shortcuts]]
|
||||||
name = "<i class='fas fa-fw fa-camera'></i> Showcases"
|
name = "<i class='fas fa-fw fa-camera'></i> Showcases"
|
||||||
url = "/showcase/"
|
url = "showcase/"
|
||||||
weight = 11
|
weight = 11
|
||||||
|
|
||||||
[[Languages.pir.menu.shortcuts]]
|
[[Languages.pir.menu.shortcuts]]
|
||||||
|
@ -120,12 +120,12 @@ Example from the current website:
|
||||||
|
|
||||||
[[Languages.pir.menu.shortcuts]]
|
[[Languages.pir.menu.shortcuts]]
|
||||||
name = "<i class='fas fa-fw fa-bullhorn'></i> Crrredits"
|
name = "<i class='fas fa-fw fa-bullhorn'></i> Crrredits"
|
||||||
url = "/credits/"
|
url = "credits/"
|
||||||
weight = 30
|
weight = 30
|
||||||
|
|
||||||
[[Languages.pir.menu.shortcuts]]
|
[[Languages.pir.menu.shortcuts]]
|
||||||
name = "<i class='fas fa-fw fa-tags'></i> Arrr! Tags"
|
name = "<i class='fas fa-fw fa-tags'></i> Arrr! Tags"
|
||||||
url = "/tags/"
|
url = "tags/"
|
||||||
weight = 40
|
weight = 40
|
||||||
````
|
````
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue