Add section for page list
This commit is contained in:
@@ -1,10 +1,12 @@
|
|||||||
{{ if .Pages }}
|
{{ if .Pages }}
|
||||||
{{ if .Params.paige.show_full_pages }}
|
{{ if .Params.paige.show_full_pages }}
|
||||||
{{ $p := .Paginate .Pages }}
|
{{ $p := .Paginate .Pages }}
|
||||||
{{ range $p.Pages }}
|
<section>
|
||||||
{{ .Scratch.Set "paige_show_full_pages" true }}
|
{{ range $p.Pages }}
|
||||||
{{ partial "paige/article" . }}
|
{{ .Scratch.Set "paige_show_full_pages" true }}
|
||||||
{{ end }}
|
{{ partial "paige/article" . }}
|
||||||
|
{{ end }}
|
||||||
|
</section>
|
||||||
{{ if or $p.HasPrev $p.HasNext }}
|
{{ if or $p.HasPrev $p.HasNext }}
|
||||||
<section>
|
<section>
|
||||||
<div class="d-flex justify-content-center">
|
<div class="d-flex justify-content-center">
|
||||||
|
Reference in New Issue
Block a user