diff options
author | tdro <tdro@noreply.example.com> | 2023-11-02 11:11:08 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2023-11-02 11:11:08 -0400 |
commit | c77a1e4d78f017aac84525e27c510ab56c96ede1 (patch) | |
tree | 28d86cc5eb0b5c4875e85db1483bb2ce589c2b8e /themes/default/layouts/_default/section.gallery.html | |
parent | f372675eb5ab4f6acabae14479479c04c3d139f5 (diff) | |
download | canory-c77a1e4d78f017aac84525e27c510ab56c96ede1.tar.gz canory-c77a1e4d78f017aac84525e27c510ab56c96ede1.tar.bz2 canory-c77a1e4d78f017aac84525e27c510ab56c96ede1.zip |
themes/default/layouts/_default: Wrap more sections in modify
Keep it disabled
Diffstat (limited to 'themes/default/layouts/_default/section.gallery.html')
-rw-r--r-- | themes/default/layouts/_default/section.gallery.html | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/themes/default/layouts/_default/section.gallery.html b/themes/default/layouts/_default/section.gallery.html index 4b1c6fd..761a276 100644 --- a/themes/default/layouts/_default/section.gallery.html +++ b/themes/default/layouts/_default/section.gallery.html @@ -1,5 +1,12 @@ {{- $parent := eq (len .Page.Ancestors) 1 -}} -{{- if $parent -}} +{{- $modified := partial "function-page-modified.html" + (dict + "Context" . + "Disable" true + ) +-}} + +{{- if (and $parent $modified) -}} {{- partial "gallery-walk.html" . -}} {{- end -}} |