From 7cec20bb3dbd798c2b1c0cad93ff2cc5c2bcb66e Mon Sep 17 00:00:00 2001 From: tdro Date: Wed, 1 Feb 2023 15:18:54 -0500 Subject: themes/default/layouts/_default/baseof: Add fallback markup to blocks Label page context in function content. --- themes/default/layouts/partials/function-content.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'themes/default/layouts/partials/function-content.html') diff --git a/themes/default/layouts/partials/function-content.html b/themes/default/layouts/partials/function-content.html index 59776aa..f206a03 100644 --- a/themes/default/layouts/partials/function-content.html +++ b/themes/default/layouts/partials/function-content.html @@ -1,5 +1,5 @@ -{{- $context := . -}} -{{- $content := $context.Content -}} +{{- $pageContext := . -}} +{{- $content := $pageContext.Content -}} {{- $expired := and .ExpiryDate (ge now.Unix .ExpiryDate.Unix) -}} {{- -- cgit v1.2.3