mirror of
https://github.com/loikein/hugo-tufte.git
synced 2024-12-25 06:49:45 +01:00
22 lines
540 B
HTML
22 lines
540 B
HTML
|
{{ .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 }}
|