Compare commits

...
2 Commits
Author SHA1 Message Date
Jimmy Cai 6f0b4be72c release: 3.34.1 2026-01-26 10:39:57 +01:00
JimmyandGitHub 7a09b136bb fix: avoid site name appearing twice in the title (#1240) 2026-01-26 10:39:34 +01:00
2 changed files with 3 additions and 9 deletions
+1 -7
View File
@@ -4,17 +4,11 @@
{{- $title := slice -}}
{{- if $pageTitle }}
{{- $title = slice $pageTitle -}}
{{- end -}}
{{- if and $paginator $paginator.HasPrev -}}
<!-- Add page number-->
{{ $title = $title | append (printf "Page %d" $paginator.PageNumber) }}
{{- end -}}
{{- if not .IsPage -}}
{{ $title = $title | append $siteTitle }}
{{- end -}}
{{- $title = $title | append (default $siteTitle $pageTitle) -}}
{{ return delimit $title " - " }}
+1 -1
View File
@@ -1,4 +1,4 @@
{{- $ThemeVersion := "3.34.0" -}}
{{- $ThemeVersion := "3.34.1" -}}
<footer class="site-footer">
<section class="copyright">
&copy;