Update tag pages
This commit is contained in:
parent
412164bcd8
commit
05509d9f60
|
@ -3,14 +3,13 @@
|
|||
<section class="posts">
|
||||
{{ range .Data.Pages }}
|
||||
<article id="{{ .Slug }}" class="teaser-post">
|
||||
<h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
|
||||
<time class="date">{{ .Date.Format "2 January, 2006" }}</time>
|
||||
<ul class="tags">
|
||||
{{ range .Params.tags }}
|
||||
<li><a href="/tags/{{ . | urlize }}">{{ . }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
<div class="separator"></div>
|
||||
<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>
|
||||
{{ end }}
|
||||
</section>
|
||||
|
|
|
@ -1 +1 @@
|
|||
<a href="{{ . | urlize }}">{{ . }}</a>
|
||||
<a href="/tags/{{ . | urlize }}">{{ . }}</a>
|
||||
|
|
Loading…
Reference in New Issue
Block a user