From 2371f1de131301aebc56744c47ac7d411470881a Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Mon, 11 Apr 2022 02:10:40 -0500 Subject: [PATCH] Revert "Use a markdown file for footer" This reverts commit 81e141cef955a2e64cdbcef68591e13eb56b94ab. The footer.md gets rendered at /footer/ which is not intended. --- layouts/_default/baseof.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 03a604d..881c11c 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -28,8 +28,8 @@

{{ . | safeHTML }}

{{ end }} - {{ if .Site.Params.footer }} - {{ readFile "footer.md" | .RenderString (dict "display" "inline") }} + {{ with .Site.Params.footer }} + {{ . | $.RenderString (dict "display" "block") }} {{ end }}