From 81e141cef955a2e64cdbcef68591e13eb56b94ab Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Sun, 10 Apr 2022 22:33:28 -0500 Subject: [PATCH] Use a markdown file for footer --- 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 881c11c..03a604d 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -28,8 +28,8 @@

{{ . | safeHTML }}

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