update list layout
This commit is contained in:
parent
560b634fbf
commit
3d6d4cd93a
|
@ -2,15 +2,10 @@
|
|||
|
||||
<section class="posts">
|
||||
{{ range .Data.Pages }}
|
||||
<article id="{{ .Slug }}" class="teaser-post">
|
||||
<h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3>
|
||||
<p class="meta">
|
||||
<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 id="{{ .Slug }}">
|
||||
<h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3>
|
||||
<p><time class="date" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "2 January 2006" }}</time></p>
|
||||
</article>
|
||||
{{ end }}
|
||||
</section>
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user