diff --git a/exampleSite/content/posts/usage/configuration.md b/exampleSite/content/posts/usage/configuration.md index 4aafb5f..685f670 100644 --- a/exampleSite/content/posts/usage/configuration.md +++ b/exampleSite/content/posts/usage/configuration.md @@ -109,7 +109,7 @@ enableRobotsTXT = true # by the 'img' shortcode. geekblogImageLazyLoading = true - # (Optional, default false) Set HTMl to .Site.BaseURL if enabled. It might be required + # (Optional, default false) Set HTMl to .Site.Home.Permalink if enabled. It might be required # if a subdirectory is used within Hugo's BaseURL. # See https://developer.mozilla.org/de/docs/Web/HTML/Element/base. geekblogOverwriteHTMLBase = false @@ -249,7 +249,7 @@ params: # by the 'img' shortcode. geekblogImageLazyLoading: true - # (Optional, default false) Set HTMl to .Site.BaseURL if enabled. It might be required + # (Optional, default false) Set HTMl to .Site.Home.Permalink if enabled. It might be required # if a subdirectory is used within Hugo's BaseURL. # See https://developer.mozilla.org/de/docs/Web/HTML/Element/base. geekblogOverwriteHTMLBase: false diff --git a/layouts/404.html b/layouts/404.html index 75205ab..dc3fa47 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -21,7 +21,7 @@
Error 404
Seems like what you are looking for can't be found. Don't worry we can bring you back - to the homepage. + to the homepage.
diff --git a/layouts/_default/list.json.json b/layouts/_default/list.json.json index 94e803c..08af28f 100644 --- a/layouts/_default/list.json.json +++ b/layouts/_default/list.json.json @@ -8,7 +8,7 @@ {{- with .Site.Params.subtitle }} "description": {{ . | jsonify }}, {{- end }} - "home_page_url" : "{{ .Site.BaseURL }}", + "home_page_url" : "{{ .Site.Home.Permalink }}", {{- with .OutputFormats.Get "json" }} "feed_url" : "{{ .Permalink }}", {{- end }} diff --git a/layouts/partials/head/others.html b/layouts/partials/head/others.html index c4f0636..ac359b4 100644 --- a/layouts/partials/head/others.html +++ b/layouts/partials/head/others.html @@ -79,7 +79,7 @@ {{- end }} {{- if (default false $.Site.Params.geekblogOverwriteHTMLBase) }} - + {{- end }} {{ printf "" "Made with Geekblog theme https://github.com/thegeeklab/hugo-geekblog" | safeHTML }} diff --git a/layouts/partials/microformats/schema.html b/layouts/partials/microformats/schema.html index 2ab18e5..50f48f2 100644 --- a/layouts/partials/microformats/schema.html +++ b/layouts/partials/microformats/schema.html @@ -7,7 +7,7 @@ {{ with index $.Site.Data.authors . }}"author": "{{ .name }}",{{ end }} {{- end }} "name": {{ .Site.Title }}, - "url": {{ .Site.BaseURL }}, + "url": {{ .Site.Home.Permalink }}, {{- with partial "utils/description" . }} "description": "{{ . | plainify | htmlUnescape | chomp }}", {{- end }} @@ -77,7 +77,7 @@ "publisher":{ "@type":"Organization", "name": {{ .Site.Title }}, - "url": {{ .Site.BaseURL }}, + "url": {{ .Site.Home.Permalink }}, "logo": { "@type": "ImageObject", "url": {{ (default "brand.svg" .Site.Params.logo) | absURL }}, diff --git a/layouts/partials/site-header.html b/layouts/partials/site-header.html index 3efd881..3a847f0 100644 --- a/layouts/partials/site-header.html +++ b/layouts/partials/site-header.html @@ -2,7 +2,7 @@
- +