Skip to content

Commit 084a0a3

Browse files
committed
only list pages in the current section
this means the updates will stop showing up at the end of the cooldowns index
1 parent 45395c1 commit 084a0a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/section.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<h1>{{ .Title }}</h1>
33
{{ .Content }}
44

5-
{{ $pages := where .Site.RegularPages "Section" "in" .Site.MainSections }}
5+
{{ $pages := .CurrentSection.RegularPages }}
66
{{ range $pages }}
77
<h2>
88
<small>{{ .Date | time.Format ":date_medium" }}</small>

0 commit comments

Comments
 (0)