update list layout

This commit is contained in:
Ariejan de Vroom 2017-03-20 14:11:15 +01:00
parent 560b634fbf
commit 3d6d4cd93a

View File

@ -2,14 +2,9 @@
<section class="posts"> <section class="posts">
{{ range .Data.Pages }} {{ range .Data.Pages }}
<article id="{{ .Slug }}" class="teaser-post"> <article id="{{ .Slug }}">
<h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3> <h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3>
<p class="meta"> <p><time class="date" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "2 January 2006" }}</time></p>
<time class="date" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "2 January, 2006" }}</time>
• tagged {{ partial "post/tag/list" . }}
• {{ .WordCount }} words
• ~{{ .ReadingTime }} minutes
</p>
</article> </article>
{{ end }} {{ end }}
</section> </section>