github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/blog/template/index.tmpl (about) 1 {{/* This file is combined with the root.tmpl to display the blog index. */}} 2 3 {{define "title"}}Article index - The Go Blog{{end}} 4 {{define "content"}} 5 6 <h1 class="title">Article index</h1> 7 8 {{range .Data}} 9 <p class="blogtitle"> 10 <a href="{{.Path}}">{{.Title}}</a><br> 11 <span class="date">{{.Time.Format "2 January 2006"}}</span><br> 12 {{with .Tags}}<span class="tags">{{range .}}{{.}} {{end}}</span>{{end}} 13 </p> 14 {{end}} 15 16 {{end}}