Compat with latest hugo releases

This commit is contained in:
nemunaire 2023-12-01 18:54:39 +01:00
commit d3f5ed2d43
2 changed files with 3 additions and 3 deletions

View file

@ -68,12 +68,12 @@
<hr>
<div>
{{ if .PrevInSection }}
<a class="mb-2 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.Permalink }}" data-toggle="tooltip" data-placement="top" title="{{ .PrevInSection.Title }}">&larr;
Article précédent
</a>
{{ end }}
{{ if .NextInSection }}
<a class="mb-2 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.Permalink }}" data-toggle="tooltip" data-placement="top" title="{{ .NextInSection.Title}}">
Article suivant &rarr;
</a>
{{ end }}