blob: 512ef724bb6e5bd95acd16a14424af3376cb4b01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{{/* This file is combined with the root.tmpl to display the blog index. */}}
{{define "title"}}Article index - The Go Blog{{end}}
{{define "content"}}
<h1 class="title">Article index</h1>
{{range .Data}}
<p class="blogtitle">
<a href="{{.Path}}">{{.Title}}</a>, <span class="date">{{.Time.Format "2 January 2006"}}</span><br>
<span class="author">{{with .Authors}}{{authors .}}<br>{{end}}</span>
{{with .Tags}}<span class="tags">{{range .}}{{.}} {{end}}</span>{{end}}
</p>
{{end}}
{{end}}
|