diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-04-22 19:17:39 +0200 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-04-22 19:17:39 +0200 |
commit | 0b30289d9f3520144bb37caa009d8953cde0e3d6 (patch) | |
tree | 0f9bb8c645db952484ae1d0d98f961142184c894 /layouts/posts/list.html | |
parent | 0084e069de16a7b6c15f50edd7479e2e49fe0874 (diff) |
#43, Update tree menu rendering to support multiple sections
Diffstat (limited to 'layouts/posts/list.html')
-rw-r--r-- | layouts/posts/list.html | 6 |
1 files changed, 3 insertions, 3 deletions
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 }} - <article> + <article class="markdown"> <h2> <a href="{{ .RelPermalink }}">{{ .Title }}</a> </h2> <h5> <strong>{{ .Date.Format $dateFormat }}</strong> </h5> - <p class="markdown"> + <p> {{- .Summary -}} {{ if .Truncated }} <a href="{{ .RelPermalink }}">...</a> |