Remove paginator from posts list
This commit is contained in:
parent
21f3a23096
commit
c822104486
1 changed files with 2 additions and 3 deletions
|
@ -1,10 +1,9 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<div id="main">
|
<div id="main">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
{{ $paginator := .Paginate (.Data.Pages.GroupByDate "2006-01") }}
|
|
||||||
<h1 class="display-4">{{ .Title }}</h1>
|
<h1 class="display-4">{{ .Title }}</h1>
|
||||||
{{ range $paginator.PageGroups }}
|
{{ range .Data.Pages.GroupByDate "2006-01" }}
|
||||||
{{ $month := (print .Key "-01") }}
|
{{ $month := print .Key "-01" }}
|
||||||
{{ if (index .Pages 0).Date.IsZero }}
|
{{ if (index .Pages 0).Date.IsZero }}
|
||||||
<hr class="my-5" />
|
<hr class="my-5" />
|
||||||
{{ else }}
|
{{ else }}
|
||||||
|
|
Loading…
Reference in a new issue