Skip to content
Permalink
Browse files

Merge branch 'master' into master

  • Loading branch information
laozhu committed Feb 11, 2020
2 parents 5c27883 + f8ec2ea commit d29672312b14911609343db87f14024bd856c7e6
Showing with 1 addition and 1 deletion.
  1. +1 −1 layouts/index.html
@@ -3,7 +3,7 @@
<header class="list-header offscreen">
<h2 class="list-label">All Posts</h2>
</header>
{{ $paginator := .Paginate (where site.RegularPages "Type" "post") (index .Site.Params "paginate" | default 10) }}
{{ $paginator := .Paginate (where .Site.RegularPages "Type" "post") (index .Site.Params "paginate" | default 10) }}
{{ if ne $paginator.TotalPages 0 }}
{{ range $paginator.Pages.ByDate.Reverse }} {{ .Render "summary" }} {{ end }}
{{ else }}

0 comments on commit d296723

Please sign in to comment.
You can’t perform that action at this time.