rename partials for consistency
This commit is contained in:
parent
de6decde38
commit
6b9c2ef4eb
12 changed files with 10 additions and 10 deletions
16
layouts/partials/post-pagination.html
Normal file
16
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" . }}
|
Loading…
Add table
Add a link
Reference in a new issue