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.following.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.following.html')
-rw-r--r-- | themes/default/layouts/_default/section.following.html | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/themes/default/layouts/_default/section.following.html b/themes/default/layouts/_default/section.following.html index 0eba618..c3bfc7b 100644 --- a/themes/default/layouts/_default/section.following.html +++ b/themes/default/layouts/_default/section.following.html @@ -1,6 +1,13 @@ {{- $parent := eq (len .Page.Ancestors) 1 -}} -{{- if $parent -}} +{{- $modified := partial "function-page-modified.html" + (dict + "Context" . + "Disable" true + ) +-}} + +{{- if (and $parent $modified) -}} {{- $sources := slice -}} {{- $author := partial "function-authors-data.html" . -}} {{- $feeds := partial "function-generate-feeds.html" . -}} |