From db1a1c7ec094898671e6969d6882517ee7c885cd Mon Sep 17 00:00:00 2001 From: Will Faught Date: Wed, 17 Jul 2024 18:38:35 -0700 Subject: [PATCH] Simplify code with with action --- layouts/partials/paige/page-footer.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/layouts/partials/paige/page-footer.html b/layouts/partials/paige/page-footer.html index 588fc8e5..b6ef922d 100644 --- a/layouts/partials/paige/page-footer.html +++ b/layouts/partials/paige/page-footer.html @@ -25,15 +25,15 @@ {{ if or $edit $history }}
- {{ if $edit }} + {{ with $edit }} {{ end }} - {{ if $history }} + {{ with $history }} {{ end }}