post section and taxonomy
This commit is contained in:
13
layouts/taxonomy/list.html
Normal file
13
layouts/taxonomy/list.html
Normal file
@@ -0,0 +1,13 @@
|
||||
{{ define "main" }}
|
||||
<div class="header">
|
||||
<h1>{{ .Title }}</h1>
|
||||
</div>
|
||||
<div class="content">
|
||||
{{ $paginator := .Paginate ( where .Data.Pages "Type" "post") }}
|
||||
{{ range $paginator.Pages }}
|
||||
{{ .Render "summary" }}
|
||||
{{ end }}
|
||||
|
||||
{{ partial "pagination.html" . }}
|
||||
</div>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user