summaryrefslogtreecommitdiff
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, 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>