NEW: experimental comment feature

This commit is contained in:
FarseaSH 2023-11-10 23:59:18 +08:00
parent 771105eca7
commit 000a89aca2
5 changed files with 64 additions and 25 deletions

View file

@ -1,8 +1,8 @@
{{ define "main" }}
<div class="container bodycontainer">
{{ $paginator := .Paginate ((where $.Site.RegularPages "Section" .Section ).ByParam "top") }}
{{ range $paginator.Pages }}
{{ partial "row.html" . }}
{{ range $i, $page := $paginator.Pages }}
{{ partial "row.html" (dict "page" $page "index" $i) }}
{{ end }}
</div>
{{ end }}