aboutsummaryrefslogtreecommitdiff
path: root/layouts/posts/list.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/posts/list.html')
-rw-r--r--layouts/posts/list.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/layouts/posts/list.html b/layouts/posts/list.html
index ad941bd..3a3eb97 100644
--- a/layouts/posts/list.html
+++ b/layouts/posts/list.html
@@ -2,13 +2,15 @@
{{ $dateFormat := default "January 2, 2006" .Site.Params.BookDateFormat }}
{{ $paginator := .Paginate (where .Pages "Params.hidden" "ne" true) }}
{{ range sort .Paginator.Pages }}
- <article class="markdown">
+ <article class="markdown book-post">
<h2>
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
</h2>
+ {{ with .Date }}
<h5>
- <strong>{{ .Date.Format $dateFormat }}</strong>
+ <strong>{{ .Format $dateFormat }}</strong>
</h5>
+ {{ end }}
<p>
{{- .Summary -}}
{{ if .Truncated }}