diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-22 20:41:11 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-22 20:41:11 +0200 |
| commit | 4f3e41d2c9d78ebbab00cbba76fa3889420bb0aa (patch) | |
| tree | d8d4349565b74c257db11f5057955b207071fad8 /layouts/partials | |
| parent | dd22a51f556f1039c53c843e2dae90b5c0d583e4 (diff) | |
| download | gohugo-theme-ed-4f3e41d2c9d78ebbab00cbba76fa3889420bb0aa.tar.gz | |
Fix footer partial (wrong variable)
Diffstat (limited to 'layouts/partials')
| -rw-r--r-- | layouts/partials/footer.html | 2 |
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 "©" "©" }} + {{- $footer_text = replace $footer_text "©" "©" }} {{ $footer_text | safeHTML }} {{- else }}{{- /* TODO: translate strings */ -}} {{- with .Params.editor }}<p>Edited by {{ . }}, {{ now.Format "2006" }}.</p>{{ end }} |
