github.com/tunedmystic/hound@v0.0.0-20200829043919-3822fec61e65/templates/index.html (about) 1 {{define "index"}} 2 {{template "header" .}} 3 4 <h3>The index page.</h3> 5 6 <br /> 7 8 {{range .Articles}} 9 <div class="article"> 10 <a href="{{.URL}}" target="_blank"> 11 <p>{{.Title}}</p> 12 <p>{{.PublishedAt}}</p> 13 </a> 14 </div> 15 {{end}} 16 17 {{ template "footer" .}} 18 {{end}}