From 45174b4ce8f8a817248debfe9e5323ebad659d40 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Fri, 12 Jul 2024 19:05:20 -0700 Subject: [PATCH] Refactor include values into vars --- layouts/partials/paige/site-footer.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/layouts/partials/paige/site-footer.html b/layouts/partials/paige/site-footer.html index 7fa2f567..0f244b9f 100644 --- a/layouts/partials/paige/site-footer.html +++ b/layouts/partials/paige/site-footer.html @@ -2,6 +2,8 @@ {{ $copyright := site.Copyright | markdownify }} {{ $credit := $page.Param "paige.credit" }} +{{ $first := templates.Exists "partials/paige/footer-first.html" }} +{{ $last := templates.Exists "partials/paige/footer-last.html" }} {{ $theme := "https://github.com/willfaught/paige" }} {{ $license := $page.Param "paige.license" | markdownify }} @@ -14,7 +16,7 @@ {{ end }}