- + {{ .Title }}
@@ -66,9 +66,9 @@- Related: {{ range $tags.Pages }} - {{ if ne .URL $currentPageUrl }} + {{ if ne .RelPermalink $currentPageUrl }}
- - + {{ .LinkTitle }} diff --git a/themes/gohugoioTheme/layouts/partials/boxes-section-summaries.html b/themes/gohugoioTheme/layouts/partials/boxes-section-summaries.html index d1683d3c9..b7e37c47c 100644 --- a/themes/gohugoioTheme/layouts/partials/boxes-section-summaries.html +++ b/themes/gohugoioTheme/layouts/partials/boxes-section-summaries.html @@ -8,7 +8,7 @@ {{ end }}
- - + {{ .LinkTitle }}
-
+
{{- if eq .context.Section "functions" -}}
{{ .context.LinkTitle }}
{{- else -}}
diff --git a/themes/gohugoioTheme/layouts/partials/boxes-small-news.html b/themes/gohugoioTheme/layouts/partials/boxes-small-news.html
index 0d89f057f..39b0dcf6d 100644
--- a/themes/gohugoioTheme/layouts/partials/boxes-small-news.html
+++ b/themes/gohugoioTheme/layouts/partials/boxes-small-news.html
@@ -6,7 +6,7 @@
{{ range first 4 ( sort (where .Pages "Section" "news") "Date" "desc" ) }}
{{ $.Scratch.Add "i" 1 }}{{ $i := $.Scratch.Get "i" }}
-
+
{{ .Date.Format "January 2, 2006" }}
diff --git a/themes/gohugoioTheme/layouts/partials/entry-summary.html b/themes/gohugoioTheme/layouts/partials/entry-summary.html
index 0f140cf70..d9cd9c68f 100644
--- a/themes/gohugoioTheme/layouts/partials/entry-summary.html
+++ b/themes/gohugoioTheme/layouts/partials/entry-summary.html
@@ -2,7 +2,7 @@
{{ humanize .Section }}
-
+
{{ .Title }}
diff --git a/themes/gohugoioTheme/layouts/partials/page-header.html b/themes/gohugoioTheme/layouts/partials/page-header.html
index 0de292738..dcc96242f 100644
--- a/themes/gohugoioTheme/layouts/partials/page-header.html
+++ b/themes/gohugoioTheme/layouts/partials/page-header.html
@@ -1,5 +1,5 @@
{{ $currentPage := . }}
-{{ $currentURL := .URL }}
+{{ $currentURL := .RelPermalink }}
diff --git a/themes/gohugoioTheme/layouts/partials/tags.html b/themes/gohugoioTheme/layouts/partials/tags.html
index 075c462df..59e3e51a0 100644
--- a/themes/gohugoioTheme/layouts/partials/tags.html
+++ b/themes/gohugoioTheme/layouts/partials/tags.html
@@ -1,4 +1,4 @@
-{{ $currentPageUrl := .URL }}
+{{ $currentPageUrl := .RelPermalink }}
{{ if and .Params.tags .Site.Taxonomies.tags }}
{{ $name := index .Params.tags 0 }}
{{ $name := $name | urlize }}
@@ -24,9 +24,9 @@
Related entries:
{{ end }}
- {{ if ne .URL $currentPageUrl }}
+ {{ if ne .RelPermalink $currentPageUrl }}
- + {{ .Title }}
diff --git a/themes/gohugoioTheme/layouts/partials/page-header.html b/themes/gohugoioTheme/layouts/partials/page-header.html index 0de292738..dcc96242f 100644 --- a/themes/gohugoioTheme/layouts/partials/page-header.html +++ b/themes/gohugoioTheme/layouts/partials/page-header.html @@ -1,5 +1,5 @@ {{ $currentPage := . }} -{{ $currentURL := .URL }} +{{ $currentURL := .RelPermalink }}-
diff --git a/themes/gohugoioTheme/layouts/partials/tags.html b/themes/gohugoioTheme/layouts/partials/tags.html
index 075c462df..59e3e51a0 100644
--- a/themes/gohugoioTheme/layouts/partials/tags.html
+++ b/themes/gohugoioTheme/layouts/partials/tags.html
@@ -1,4 +1,4 @@
-{{ $currentPageUrl := .URL }}
+{{ $currentPageUrl := .RelPermalink }}
{{ if and .Params.tags .Site.Taxonomies.tags }}
{{ $name := index .Params.tags 0 }}
{{ $name := $name | urlize }}
@@ -24,9 +24,9 @@
Related entries:
{{ end }}
- {{ if ne .URL $currentPageUrl }}
+ {{ if ne .RelPermalink $currentPageUrl }}