diff --git a/exampleSite/config/_default/hugo.toml b/exampleSite/config/_default/hugo.toml index 202a60f201a..69c24ea146c 100644 --- a/exampleSite/config/_default/hugo.toml +++ b/exampleSite/config/_default/hugo.toml @@ -84,31 +84,31 @@ title = "Hugo Relearn Theme" # Use case https://gohugo.io/content-management/multilingual/#translation-by-content-directory #contentDir = "content/en" [languages.en.params] - landingPageName = " Home" + landingPageName = " Home" [[languages.en.menu.shortcuts]] - name = " GitHub repo" + name = " GitHub repo" identifier = "ds" url = "https://github.com/McShelby/hugo-theme-relearn" weight = 10 [[languages.en.menu.shortcuts]] - name = " Showcases" + name = " Showcases" pageRef = "showcase/" weight = 20 [[languages.en.menu.shortcuts]] - name = " Credits" + name = " Credits" pageRef = "more/credits/" weight = 30 [[languages.en.menu.shortcuts]] - name = " Tags" + name = " Tags" pageRef = "tags/" weight = 40 [[languages.en.menu.shortcuts]] - name = " Categories" + name = " Categories" pageRef = "categories/" weight = 50 @@ -128,31 +128,31 @@ title = "Hugo Relearn Theme" # Use case https://gohugo.io/content-management/multilingual/#translation-by-content-directory #contentDir = "content/pir" [languages.pir.params] - landingPageName = " Arrr! Home" + landingPageName = " Arrr! Home" [[languages.pir.menu.shortcuts]] - name = " GitHub repo" + name = " GitHub repo" identifier = "ds" url = "https://github.com/McShelby/hugo-theme-relearn" weight = 10 [[languages.pir.menu.shortcuts]] - name = " Showcases" + name = " Showcases" pageRef = "showcase/" weight = 20 [[languages.pir.menu.shortcuts]] - name = " Crrredits" + name = " Crrredits" pageRef = "more/credits/" weight = 30 [[languages.pir.menu.shortcuts]] - name = " Arrr! Tags" + name = " Arrr! Tags" pageRef = "tags/" weight = 40 [[languages.pir.menu.shortcuts]] - name = " Categorrries" + name = " Categorrries" pageRef = "categories/" weight = 50 diff --git a/exampleSite/content/basics/customization/_index.en.md b/exampleSite/content/basics/customization/_index.en.md index dcbda7c9a14..5693955310f 100644 --- a/exampleSite/content/basics/customization/_index.en.md +++ b/exampleSite/content/basics/customization/_index.en.md @@ -118,16 +118,16 @@ appearance, you will have to configure the `landingPageName` for the defined lan [languages] [languages.en] [languages.en.params] -landingPageName = " Home" +landingPageName = " Home" [languages.pir] [languages.pir.params] -landingPageName = " Arrr! Homme" +landingPageName = " Arrr! Homme" {{< /multiconfig >}} If this option is not configured for a specific language, they will get their default values: {{< multiconfig >}} -landingPageName = " Home" +landingPageName = " Home" {{< /multiconfig >}} The home button is going to look like this: diff --git a/exampleSite/content/cont/menushortcuts.en.md b/exampleSite/content/cont/menushortcuts.en.md index ba96c6b0d53..3c350c1e9ac 100644 --- a/exampleSite/content/cont/menushortcuts.en.md +++ b/exampleSite/content/cont/menushortcuts.en.md @@ -13,29 +13,29 @@ Example from the current website: {{< multiconfig file=hugo >}} [[menu.shortcuts]] -name = " GitHub repo" +name = " GitHub repo" identifier = "ds" url = "https://github.com/McShelby/hugo-theme-relearn" weight = 10 [[menu.shortcuts]] -name = " Showcases" +name = " Showcases" url = "showcase/" weight = 11 [[menu.shortcuts]] -name = " Hugo Documentation" +name = " Hugo Documentation" identifier = "hugodoc" url = "https://gohugo.io/" weight = 20 [[menu.shortcuts]] -name = " Credits" +name = " Credits" url = "more/credits/" weight = 30 [[menu.shortcuts]] -name = " Tags" +name = " Tags" url = "tags/" weight = 40 {{< /multiconfig >}} @@ -65,32 +65,32 @@ Example from the current website: weight = 1 languageName = "English" [languages.en.params] - landingPageName = " Home" + landingPageName = " Home" [[languages.en.menu.shortcuts]] - name = " GitHub repo" + name = " GitHub repo" identifier = "ds" url = "https://github.com/McShelby/hugo-theme-relearn" weight = 10 [[languages.en.menu.shortcuts]] - name = " Showcases" + name = " Showcases" pageRef = "showcase/" weight = 11 [[languages.en.menu.shortcuts]] - name = " Hugo Documentation" + name = " Hugo Documentation" identifier = "hugodoc" url = "https://gohugo.io/" weight = 20 [[languages.en.menu.shortcuts]] - name = " Credits" + name = " Credits" pageRef = "more/credits/" weight = 30 [[languages.en.menu.shortcuts]] - name = " Tags" + name = " Tags" pageRef = "tags/" weight = 40 @@ -99,32 +99,32 @@ Example from the current website: weight = 1 languageName = "Arrr! Pirrrates" [languages.pir.params] - landingPageName = " Arrr! Home" + landingPageName = " Arrr! Home" [[languages.pir.menu.shortcuts]] - name = " GitHub repo" + name = " GitHub repo" identifier = "ds" url = "https://github.com/McShelby/hugo-theme-relearn" weight = 10 [[languages.pir.menu.shortcuts]] - name = " Showcases" + name = " Showcases" pageRef = "showcase/" weight = 11 [[languages.pir.menu.shortcuts]] - name = " Cap'n Hugo Documentat'n" + name = " Cap'n Hugo Documentat'n" identifier = "hugodoc" url = "https://gohugo.io/" weight = 20 [[languages.pir.menu.shortcuts]] - name = " Crrredits" + name = " Crrredits" pageRef = "more/credits/" weight = 30 [[languages.pir.menu.shortcuts]] - name = " Arrr! Tags" + name = " Arrr! Tags" pageRef = "tags/" weight = 40 {{< /multiconfig >}} diff --git a/exampleSite/content/cont/taxonomy.en.md b/exampleSite/content/cont/taxonomy.en.md index df84ae92931..3b8aa810471 100644 --- a/exampleSite/content/cont/taxonomy.en.md +++ b/exampleSite/content/cont/taxonomy.en.md @@ -31,11 +31,11 @@ In the `hugo.toml` file you can add a shortcut to display all the tags and cate {{< multiconfig file=hugo >}} [[menu.shortcuts]] -name = " Tags" +name = " Tags" url = "/tags" [[menu.shortcuts]] -name = " Categories" +name = " Categories" url = "/categories" {{< /multiconfig >}} diff --git a/layouts/partials/content-footer.html b/layouts/partials/content-footer.html index 6c6b3562120..f73c2cbcf6e 100644 --- a/layouts/partials/content-footer.html +++ b/layouts/partials/content-footer.html @@ -23,9 +23,9 @@ {{- end }} {{- end }} {{- if $LastModifierDisplayName }} - {{ with $LastModifierEmail }}{{ end }}{{ $LastModifierDisplayName }}{{ with $LastModifierEmail }}{{ end }} + {{ with $LastModifierEmail }}{{ end }}{{ $LastModifierDisplayName }}{{ with $LastModifierEmail }}{{ end }} {{- with $Date }} - {{ . }} + {{ . }} {{- end }} {{- end }} {{- partial "term-list.html" (dict diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html index 2cd32d0f157..83b852b5070 100644 --- a/layouts/partials/menu.html +++ b/layouts/partials/menu.html @@ -23,7 +23,7 @@ {{- warnf "%q: UNSUPPORTED usage of 'landingPageURL' config parameter found, remove it and optionally overwrite the `logo.html` partial to provide a link if it should not point to the project's home page; see https://mcshelby.github.io/hugo-theme-relearn/basics/migration#420" .File.Filename }} {{- end }} {{- end }}
@@ -69,7 +69,7 @@