summaryrefslogtreecommitdiffstats
path: root/layouts/partials/footer.html
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-05-22 20:41:11 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-05-22 20:41:11 +0200
commit4f3e41d2c9d78ebbab00cbba76fa3889420bb0aa (patch)
treed8d4349565b74c257db11f5057955b207071fad8 /layouts/partials/footer.html
parentdd22a51f556f1039c53c843e2dae90b5c0d583e4 (diff)
downloadgohugo-theme-ed-4f3e41d2c9d78ebbab00cbba76fa3889420bb0aa.tar.gz
Fix footer partial (wrong variable)
Diffstat (limited to 'layouts/partials/footer.html')
-rw-r--r--layouts/partials/footer.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index e66dfc6..fd50c5e 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -2,7 +2,7 @@
<p>
{{- with site.Params.footer -}}
{{- $footer_text := replace . "{year}" now.Year -}}
- {{- $footer_text = replace $copyright "&copy;" "©" }}
+ {{- $footer_text = replace $footer_text "&copy;" "©" }}
{{ $footer_text | safeHTML }}
{{- else }}{{- /* TODO: translate strings */ -}}
{{- with .Params.editor }}<p>Edited by {{ . }}, {{ now.Format "2006" }}.</p>{{ end }}