diff --git a/themes/gohugoioTheme/layouts/_default/baseof.html b/themes/gohugoioTheme/layouts/_default/baseof.html index 6c579fcfc..2411b1348 100644 --- a/themes/gohugoioTheme/layouts/_default/baseof.html +++ b/themes/gohugoioTheme/layouts/_default/baseof.html @@ -12,7 +12,7 @@ {{ block "title" . }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }} - {{ .Hugo.Generator }} + {{ hugo.Generator }} {{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }} diff --git a/themes/gohugoioTheme/layouts/news/single.html b/themes/gohugoioTheme/layouts/news/single.html index 33a0043d8..200daa70a 100644 --- a/themes/gohugoioTheme/layouts/news/single.html +++ b/themes/gohugoioTheme/layouts/news/single.html @@ -1,5 +1,5 @@ {{ define "main" }} - {{ $currentPageUrl := .URL }} + {{ $currentPageUrl := .RelPermalink }}
@@ -13,7 +13,7 @@ {{end}}

- + {{ .Title }}

@@ -66,9 +66,9 @@