We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45395c1 commit 084a0a3Copy full SHA for 084a0a3
layouts/section.html
@@ -2,7 +2,7 @@
2
<h1>{{ .Title }}</h1>
3
{{ .Content }}
4
5
- {{ $pages := where .Site.RegularPages "Section" "in" .Site.MainSections }}
+ {{ $pages := .CurrentSection.RegularPages }}
6
{{ range $pages }}
7
<h2>
8
<small>{{ .Date | time.Format ":date_medium" }}</small>
0 commit comments