diff options
author | Angelo Stavrow <contact@angelostavrow.com> | 2019-10-03 15:53:27 +0300 |
---|---|---|
committer | Angelo Stavrow <contact@angelostavrow.com> | 2019-10-03 15:53:27 +0300 |
commit | ecf2ddc9e0c28fcf8e312dd30131db4edd425b01 (patch) | |
tree | 20c2c3a1e0a743fde5ce33ce22b0909e07e42ed9 /layouts/_default/list.html | |
parent | 2701271d298c6e35da45a1dcf003a604fea48924 (diff) |
Adds taxonomy.html layout for tag and category lists
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r-- | layouts/_default/list.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index c975ac5..2db2af7 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,10 +1,10 @@ {{ partial "header.html" . }} <h2>{{ .Title }}</h2> <div id="content"> -{{ range $index, $page := (.Paginate (where .Site.RegularPages "Type" "in" site.Params.mainSections)).Pages }} -{{ if ne $index 0 }} -{{ end }} -{{ .Render "li" }} -{{ end }} + {{ range $index, $page := (.Paginate (where .Site.RegularPages "Type" "in" site.Params.mainSections)).Pages }} + {{ if ne $index 0 }} + {{ end }} + {{ .Render "li" }} + {{ end }} </div> -{{ partial "footer.html" . }}
\ No newline at end of file +{{ partial "footer.html" . }} |