diff options
author | tdro <tdro@noreply.example.com> | 2023-05-10 21:22:53 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2023-05-18 11:12:18 -0400 |
commit | 5403d7559af83c4ecdfbd89036984a114490eb93 (patch) | |
tree | 9a2d1c981aad56675a848f43215e8e967bdabef1 /themes/default/layouts/_default/baseof.txt | |
parent | 019f938f2394adca667b11a7640377053547b70e (diff) | |
download | canory-5403d7559af83c4ecdfbd89036984a114490eb93.tar.gz canory-5403d7559af83c4ecdfbd89036984a114490eb93.tar.bz2 canory-5403d7559af83c4ecdfbd89036984a114490eb93.zip |
themes/default/layouts/partials/function-page-modified: Return true here
Wrap bases but still generate everything, will revisit much later on
Diffstat (limited to 'themes/default/layouts/_default/baseof.txt')
-rw-r--r-- | themes/default/layouts/_default/baseof.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/themes/default/layouts/_default/baseof.txt b/themes/default/layouts/_default/baseof.txt index 55f860c..f122113 100644 --- a/themes/default/layouts/_default/baseof.txt +++ b/themes/default/layouts/_default/baseof.txt @@ -1,5 +1,7 @@ {{- $modified := partial "function-page-modified.html" . -}} -{{- block "main" . -}} -Silence is golden. +{{- if $modified -}} + {{- block "main" . -}} + Silence is golden. + {{- end -}} {{- end -}} |