Remove the variable from the blog list -- it doesn't get used
This commit is contained in:
parent
1cdc11c477
commit
38d945d86e
1 changed files with 0 additions and 5 deletions
|
@ -3,11 +3,6 @@
|
|||
{{ end }}
|
||||
|
||||
{{ define "main" }}
|
||||
{{ $pages := union .RegularPages .Sections }}
|
||||
{{ if .IsHome }}
|
||||
{{ $pages = where site.RegularPages "Type" "in" site.Params.mainSections }}
|
||||
{{ end }}
|
||||
|
||||
{{ range .Pages.ByDate.GroupByDate "2006" }}
|
||||
<h2>{{ .Key }}</h2>
|
||||
<ul class="post-list">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue