mirror of
https://gitlab.com/EternalWanderer/vugo.git
synced 2025-06-08 14:24:26 +02:00
Proper theme basis
This commit is contained in:
parent
f474eb76e0
commit
9b0b8dfcf1
27 changed files with 318 additions and 102 deletions
10
layouts/partials/posts_pagination.html
Normal file
10
layouts/partials/posts_pagination.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
{{ if or .NextInSection .PrevInSection }}
|
||||
<div class="pagination__buttons">
|
||||
{{ if .NextInSection }}
|
||||
<a class="button prev" href="{{ .NextInSection.Permalink }}">{{ .NextInSection.Title }}</a>
|
||||
{{ end }}
|
||||
{{ if .PrevInSection }}
|
||||
<a class="button next" href="{{ .PrevInSection.Permalink }}">{{ .PrevInSection.Title }}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue