Ajout de la pagination pour les dossiers
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
{{- end -}}
|
||||
<nav class="pagination" aria-label="Sommaire du dossier">
|
||||
{{- if ge $index 1 }}
|
||||
<a class="prev" href="{{ $prev.RelPermalink }}" title="Page précédente">←</a>
|
||||
<a class="prev" href="{{ $prev.RelPermalink }}" title="Page précédente : {{ $prev.Title }}">←</a>
|
||||
{{- else }}
|
||||
<span class="disabled prev">←</span>
|
||||
{{- end }}
|
||||
@@ -43,7 +43,7 @@
|
||||
</details>
|
||||
|
||||
{{- if lt (add $index 1) (len $sorted) }}
|
||||
<a class="next" href="{{ $next.RelPermalink }}" title="Page suivante">→</a>
|
||||
<a class="next" href="{{ $next.RelPermalink }}" title="Page suivante : {{ $next.Title }}">→</a>
|
||||
{{- else }}
|
||||
<span class="disabled next">→</span>
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user