mirror of
https://gitlab.com/EternalWanderer/vugo.git
synced 2025-06-08 14:24:26 +02:00
Some cleanup
This commit is contained in:
parent
9b04750cf5
commit
e37d635186
2 changed files with 13 additions and 27 deletions
|
@ -1,10 +1,8 @@
|
|||
{{ if or .NextInSection .PrevInSection }}
|
||||
<div class="pagination__buttons">
|
||||
{{ if .NextInSection }}
|
||||
<a class="button prev" href="{{ .NextInSection.RelPermalink }}">{{ .NextInSection.Title }}</a>
|
||||
{{ end }}
|
||||
{{ if .PrevInSection }}
|
||||
<a class="button next" href="{{ .PrevInSection.RelPermalink }}">{{ .PrevInSection.Title }}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ if .NextInSection }}
|
||||
<a class="button prev" href="{{ .NextInSection.RelPermalink }}">{{ .NextInSection.Title }}</a>
|
||||
{{ end }}
|
||||
{{ if .PrevInSection }}
|
||||
<a class="button next" href="{{ .PrevInSection.RelPermalink }}">{{ .PrevInSection.Title }}</a>
|
||||
{{ end }}
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue