Convert docdock theme from submodule to native files and fix Hugo compatibility
This commit is contained in:
9
themes/docdock/layouts/partials/pagination.html
Normal file
9
themes/docdock/layouts/partials/pagination.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<nav class="pagination" role="navigation">
|
||||
{{if .HasPrev}}
|
||||
<a class="newer-posts" href="{{ .Prev.RelPermalink }}">← {{T "Previous-Pages"}}</a>
|
||||
{{end}}
|
||||
<span class="page-number">{{T "Page"}} {{ .PageNumber }} {{T "pagination-on"}} {{.TotalPages}}</span>
|
||||
{{if .HasNext}}
|
||||
<a class="older-posts" href="{{ .Next.RelPermalink }}">{{T "Next-Pages"}} →</a>
|
||||
{{end}}
|
||||
</nav>
|
||||
Reference in New Issue
Block a user