planblog/layouts/index.html

13 lines
262 B
HTML
Raw Normal View History

2015-02-02 09:54:20 +00:00
{{ partial "header.html" . }}
<div class="article-list">
2015-07-08 07:42:24 +00:00
{{ range $index, $page := .Paginator.Pages }}
2015-02-02 09:54:20 +00:00
{{ if ne $index 0 }}
<hr/>
{{ end }}
{{ .Render "li" }}
{{ end }}
</div>
2015-07-08 07:42:24 +00:00
{{ partial "pagination.html" .Paginator }}
2015-02-02 09:54:20 +00:00
{{ partial "footer.html" . }}