From 0b30289d9f3520144bb37caa009d8953cde0e3d6 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Mon, 22 Apr 2019 19:17:39 +0200 Subject: #43, Update tree menu rendering to support multiple sections --- layouts/posts/list.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'layouts/posts/list.html') diff --git a/layouts/posts/list.html b/layouts/posts/list.html index 18871f2..13e1ea1 100644 --- a/layouts/posts/list.html +++ b/layouts/posts/list.html @@ -1,15 +1,15 @@ {{ define "main" }} - {{- $dateFormat := default "January 2, 2006" .Site.Params.BookDateFormat -}} + {{ $dateFormat := default "January 2, 2006" .Site.Params.BookDateFormat }} {{ $paginator := .Paginate (where .Pages "Params.hidden" "ne" true) }} {{ range sort .Paginator.Pages }} -
+

{{ .Title }}

{{ .Date.Format $dateFormat }}
-

+

{{- .Summary -}} {{ if .Truncated }} ... -- cgit v1.2.3