diff --git a/bootstrap/layouts/collection.html b/bootstrap/layouts/collection.html index bc3dff2..9f16e60 100644 --- a/bootstrap/layouts/collection.html +++ b/bootstrap/layouts/collection.html @@ -2,7 +2,7 @@ {{template "header" .}} {{template "navbar" .}}
- {{range .Meta.Pager.Items}} + {{range .Meta.Pager.PageCurr.Items}}

{{.Meta.Title}}

@@ -12,18 +12,38 @@

{{end}} -
{{template "footer" .}} diff --git a/bootstrap/main.go b/bootstrap/main.go index 679ff08..c3571c0 100644 --- a/bootstrap/main.go +++ b/bootstrap/main.go @@ -106,7 +106,7 @@ func (b *builder) Build(srcDir, dstDir string) { Chain(frontmatter.New()). Chain(markdown.New().MarkdownFlags(markdownFlags)). Chain(collection.New()). - Chain(paginate.New("Groups.Blog").Limit(5)). + Chain(paginate.New("Groups.Blog").Limit(3)). Chain(index.New(indexMeta)). Chain(tags.New().IndexMeta(tagMeta)). Chain(breadcrumbs.New()).