From d6290dcf509c84a38df667813ad3acdcf58c09f5 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Thu, 19 Dec 2019 17:22:12 +0100 Subject: #66, add taxonomy support --- layouts/posts/list.html | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'layouts/posts/list.html') 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 }}

{{ .Title }}

- {{ with .Date }} -
- {{ .Format $dateFormat }} -
- {{ end }} + {{ partial "docs/post-meta" . }}

{{- .Summary -}} {{ if .Truncated }} @@ -19,9 +14,10 @@

{{ end }} + {{ template "_internal/pagination.html" . }} {{ end }} {{ define "toc" }} - + {{ partial "docs/taxonomy" . }} {{ end }} -- cgit v1.2.3