Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/rmaguiar/hugo-theme-color-your-world.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphael Aguiar <rmaguiar@tuta.io>2023-12-13 01:17:08 +0300
committerRaphael Aguiar <rmaguiar@tuta.io>2023-12-13 01:17:08 +0300
commit8f41a69bc6bccef792a52e3f15bdfc64d78b406d (patch)
tree180502363d8730b872acb4179b437e3ddcdd6ef0
parent61d9137fa3bdfd909aad34fa96ce37aeffb7005e (diff)
Fix footer HTML (breaks from Hugo 0.120.0 and up)
-rw-r--r--layouts/partials/footer.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index cf3d73c..db45371 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -12,7 +12,7 @@
{{ $processedFooterText = $processedFooterText | append $currentParagraph }}
{{ end }}
- {{ delimit $processedFooterText "" }}
+ {{ delimit $processedFooterText "" | safeHTML }}
{{ end }}
@@ -32,7 +32,7 @@
{{ $processedLangs = $processedLangs | append $currentLang }}
{{ end }}
- <p>{{ T "alsoAvailable" }}: {{ delimit $processedLangs ", " (T "and") }}.</p>
+ <p>{{ T "alsoAvailable" }}: {{ delimit $processedLangs ", " (T "and") | safeHTML }}.</p>
{{ end }}