1
0
Fork 0
forked from mirrors/hugo-tufte

Initial commit.

This commit is contained in:
Shawn O'Hare 2015-12-29 18:35:20 -08:00
commit b3a2e36507
50 changed files with 2152 additions and 0 deletions
layouts/_default

View file

@ -0,0 +1,21 @@
{{ .Title }}
<!-- {{ template "_internal/pagination.html" }} -->
Hello this is a list of content.
{{ .TableOfContents }}
{{ $paginator := .Paginate ( (.Data.Pages.GroupByDate "2006") ) }}
<ul>
<li>PageNumber: {{ $paginator.PageNumber }}</li>
<li>URL: {{ $paginator.URL}}</li>
<li>Pages: {{ $paginator.Pages }}</li>
<li>TotalPages: {{ $paginator.TotalPages }}</li>
</ul>
{{ range $paginator.PageGroups }}
<h2>{{ .Key }}</h2>
{{ range .Pages }}
<br/>
<a href="{{ .RelPermalink }}">{{.Title}}</a>
{{ end }}
{{ end }}