aboutsummaryrefslogtreecommitdiff
path: root/layouts/posts/list.html
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2019-12-19 17:22:12 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-12-19 17:22:12 +0100
commitd6290dcf509c84a38df667813ad3acdcf58c09f5 (patch)
tree8cc7c6134148e24df3c12589b7faa12cadf4fb71 /layouts/posts/list.html
parentf5a52e6ed124526ebd070480068e6e145af11d9a (diff)
#66, add taxonomy support
Diffstat (limited to 'layouts/posts/list.html')
-rw-r--r--layouts/posts/list.html10
1 files changed, 3 insertions, 7 deletions
diff --git a/layouts/posts/list.html b/layouts/posts/list.html
index 3a3eb97..6115fae 100644
--- a/layouts/posts/list.html
+++ b/layouts/posts/list.html
@@ -1,16 +1,11 @@
{{ define "main" }}
- {{ $dateFormat := default "January 2, 2006" .Site.Params.BookDateFormat }}
{{ $paginator := .Paginate (where .Pages "Params.hidden" "ne" true) }}
{{ range sort .Paginator.Pages }}
<article class="markdown book-post">
<h2>
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
</h2>
- {{ with .Date }}
- <h5>
- <strong>{{ .Format $dateFormat }}</strong>
- </h5>
- {{ end }}
+ {{ partial "docs/post-meta" . }}
<p>
{{- .Summary -}}
{{ if .Truncated }}
@@ -19,9 +14,10 @@
</p>
</article>
{{ end }}
+
{{ template "_internal/pagination.html" . }}
{{ end }}
{{ define "toc" }}
-
+ {{ partial "docs/taxonomy" . }}
{{ end }}