1

fixing bootstrap demo

This commit is contained in:
Alex Yatskov 2017-12-28 13:54:46 -08:00
parent d12d6e5529
commit 91c8f95645
2 changed files with 3 additions and 1 deletions

View File

@ -12,6 +12,7 @@
</div>
{{end}}
{{if .Meta.Pager.Paged}}
<ul class="pagination justify-content-center">
{{if .Meta.Pager.PageCurr.Prev}}
<li class="page-item">
@ -45,6 +46,7 @@
</li>
{{end}}
</ul>
{{end}}
</div>
{{template "footer" .}}
{{end}}

View File

@ -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(3)).
Chain(paginate.New("Groups.Blog").ItemsPerPage(3)).
Chain(index.New(indexMeta)).
Chain(tags.New().IndexMeta(tagMeta)).
Chain(breadcrumbs.New()).