diff options
author | tdro <tdro@noreply.example.com> | 2023-02-01 15:18:54 -0500 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2023-02-01 15:18:54 -0500 |
commit | 7cec20bb3dbd798c2b1c0cad93ff2cc5c2bcb66e (patch) | |
tree | b542f7d263627a94e8cdbafb7215f6c3c57b9a9d /themes/default/layouts/partials/function-content.html | |
parent | ba823475b4c81f46b5f54a4bed2283b04ac471d4 (diff) | |
download | canory-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.html | 4 |
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) -}} {{- |