[gimp-web-devel/pat/bootstrap] theme: fail on for section sub-page listing
- From: Pat David <patdavid src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web-devel/pat/bootstrap] theme: fail on for section sub-page listing
- Date: Tue, 6 Sep 2022 18:54:23 +0000 (UTC)
commit 41b8cbbdfbb632382d239e431cd3d303016b096f
Author: Pat David <patdavid gmail com>
Date: Tue Sep 6 13:53:49 2022 -0500
theme: fail on for section sub-page listing
This will let the section template render sub-pages
unless *explicitly* told not to through frontmatter show_subs
layouts/_default/section.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/layouts/_default/section.html b/layouts/_default/section.html
index cc59439..5bdbbf6 100644
--- a/layouts/_default/section.html
+++ b/layouts/_default/section.html
@@ -7,7 +7,7 @@
{{ .Content }}
- {{ if eq .Params.show_subs true }}
+ {{ if ne .Params.show_subs false }}
<ul>
{{ range .Data.Pages }}
<li>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]