Add some space after pagination

This commit is contained in:
nemunaire 2021-07-11 18:57:38 +02:00
commit 3e7f4f07d0
2 changed files with 4 additions and 4 deletions

View file

@ -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 }}">&larr;
<a class="mb-2 btn btn-outline-primary float-left" href="{{ .PrevInSection.URL }}" data-toggle="tooltip" data-placement="top" title="{{ .PrevInSection.Title }}">&larr;
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 &rarr;
</a>
{{ end }}

View file

@ -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 }}">
&larr; 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 &rarr;
</a>
{{ end }}