From 80a9b0a2d3f8d6802c4cbb0847c94df69ec2c276 Mon Sep 17 00:00:00 2001 From: jtbx Date: Sat, 4 Nov 2023 22:26:11 +0100 Subject: [PATCH] Theme: Use RelPermalink everywhere --- themes/ccchh/layouts/_default/list.html | 2 +- themes/ccchh/layouts/_default/terms.html | 2 +- themes/ccchh/layouts/blog/list.html | 2 +- themes/ccchh/layouts/index.html | 4 ++-- themes/ccchh/layouts/partials/blog-header.html | 6 +++--- themes/ccchh/layouts/partials/head.html | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/themes/ccchh/layouts/_default/list.html b/themes/ccchh/layouts/_default/list.html index 4319b7b..14382c8 100644 --- a/themes/ccchh/layouts/_default/list.html +++ b/themes/ccchh/layouts/_default/list.html @@ -7,7 +7,7 @@ diff --git a/themes/ccchh/layouts/_default/terms.html b/themes/ccchh/layouts/_default/terms.html index 93a9aae..e4cd38d 100644 --- a/themes/ccchh/layouts/_default/terms.html +++ b/themes/ccchh/layouts/_default/terms.html @@ -7,7 +7,7 @@
diff --git a/themes/ccchh/layouts/blog/list.html b/themes/ccchh/layouts/blog/list.html index cd691a7..f867431 100644 --- a/themes/ccchh/layouts/blog/list.html +++ b/themes/ccchh/layouts/blog/list.html @@ -10,7 +10,7 @@ Filter nach Kategorie: diff --git a/themes/ccchh/layouts/index.html b/themes/ccchh/layouts/index.html index 4de142c..b832904 100644 --- a/themes/ccchh/layouts/index.html +++ b/themes/ccchh/layouts/index.html @@ -42,7 +42,7 @@

{{ .Title }}

{{- $img_path := printf "%s%s" $subsec_dir .Params.Image }} {{- with $home.Resources.Get $img_path }} - + {{- end }} {{ .Content }} @@ -54,7 +54,7 @@
{{- range . }} {{- $img := $home.Resources.GetMatch (printf "*/%s" .src) }} - + {{- end }}
{{- end }} diff --git a/themes/ccchh/layouts/partials/blog-header.html b/themes/ccchh/layouts/partials/blog-header.html index 1a7a021..6a1eb92 100644 --- a/themes/ccchh/layouts/partials/blog-header.html +++ b/themes/ccchh/layouts/partials/blog-header.html @@ -6,7 +6,7 @@ {{ with $page }}
- {{- if $headingLink }}{{ end }} + {{- if $headingLink }}{{ end }} {{ .Title }} {{- if $headingLink }}{{ end }} {{- with .Params.subtitle }} @@ -22,7 +22,7 @@ {{- with .Page.GetTerms "tags" }} {{- range . }} - {{ .Title }} + {{ .Title }} {{- end }} {{- end }} @@ -32,7 +32,7 @@ {{- with .Page.GetTerms "authors" }} {{- range . }} - {{ .Title }} + {{ .Title }} {{- end }} {{- end }} diff --git a/themes/ccchh/layouts/partials/head.html b/themes/ccchh/layouts/partials/head.html index 6f0fd83..eeb62df 100644 --- a/themes/ccchh/layouts/partials/head.html +++ b/themes/ccchh/layouts/partials/head.html @@ -18,7 +18,7 @@ {{- end }} {{ range .AlternativeOutputFormats -}} - {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} + {{ printf `` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }} {{- end }} {{ .Title }}