Add some space after pagination
This commit is contained in:
parent
c99f3aa0ca
commit
3e7f4f07d0
2 changed files with 4 additions and 4 deletions
|
|
@ -66,12 +66,12 @@
|
|||
<hr>
|
||||
<div style="clear: both">
|
||||
{{ if .PrevInSection }}
|
||||
<a class="btn btn-outline-primary float-left" href="{{ .PrevInSection.URL }}" data-toggle="tooltip" data-placement="top" title="{{ .PrevInSection.Title }}">←
|
||||
<a class="mb-2 btn btn-outline-primary float-left" href="{{ .PrevInSection.URL }}" data-toggle="tooltip" data-placement="top" title="{{ .PrevInSection.Title }}">←
|
||||
Article précédent
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ if .NextInSection }}
|
||||
<a class="btn btn-outline-primary float-right" href="{{ .NextInSection.URL }}" data-toggle="tooltip" data-placement="top" title="{{ .NextInSection.Title}}">
|
||||
<a class="mb-2 btn btn-outline-primary float-right" href="{{ .NextInSection.URL }}" data-toggle="tooltip" data-placement="top" title="{{ .NextInSection.Title}}">
|
||||
Article suivant →
|
||||
</a>
|
||||
{{ end }}
|
||||
|
|
|
|||
|
|
@ -3,12 +3,12 @@
|
|||
{{ if gt $pag.TotalPages 1 }}
|
||||
<div style="clear: both">
|
||||
{{ if $pag.HasPrev }}
|
||||
<a class="btn btn-outline-primary float-left" href="{{ $pag.Prev.URL }}">
|
||||
<a class="mb-2 btn btn-outline-primary float-left" href="{{ $pag.Prev.URL }}">
|
||||
← Articles plus récents
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ if $pag.HasNext }}
|
||||
<a class="btn btn-outline-primary float-right" href="{{ $pag.Next.URL }}">
|
||||
<a class="mb-2 btn btn-outline-primary float-right" href="{{ $pag.Next.URL }}">
|
||||
Articles plus anciens →
|
||||
</a>
|
||||
{{ end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue