aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/function-content.html
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2023-02-01 15:18:54 -0500
committertdro <tdro@noreply.example.com>2023-02-01 15:18:54 -0500
commit7cec20bb3dbd798c2b1c0cad93ff2cc5c2bcb66e (patch)
treeb542f7d263627a94e8cdbafb7215f6c3c57b9a9d /themes/default/layouts/partials/function-content.html
parentba823475b4c81f46b5f54a4bed2283b04ac471d4 (diff)
downloadcanory-7cec20bb3dbd798c2b1c0cad93ff2cc5c2bcb66e.tar.gz
canory-7cec20bb3dbd798c2b1c0cad93ff2cc5c2bcb66e.tar.bz2
canory-7cec20bb3dbd798c2b1c0cad93ff2cc5c2bcb66e.zip
themes/default/layouts/_default/baseof: Add fallback markup to blocks
Label page context in function content.
Diffstat (limited to 'themes/default/layouts/partials/function-content.html')
-rw-r--r--themes/default/layouts/partials/function-content.html4
1 files changed, 2 insertions, 2 deletions
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) -}}
{{-