initial
This commit is contained in:
16
blog/themes/anubis/layouts/partials/post-pagination.html
Normal file
16
blog/themes/anubis/layouts/partials/post-pagination.html
Normal file
@@ -0,0 +1,16 @@
|
||||
{{ if or ( .PrevInSection ) ( .NextInSection ) }}
|
||||
<div class="pagination post-pagination">
|
||||
<div class="left pagination-item {{ if not .NextInSection }}disabled{{ end }}">
|
||||
{{ if .NextInSection }}
|
||||
<a href="{{ .NextInSection.Permalink | relLangURL }}">{{ .NextInSection.Title }}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="right pagination-item {{ if not .PrevInSection }}disabled{{ end }}">
|
||||
{{ if .PrevInSection }}
|
||||
<a href="{{ .PrevInSection.Permalink | relLangURL }}">{{ .PrevInSection.Title }}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
{{ partial "pagination-extra.html" . }}
|
||||
Reference in New Issue
Block a user