diff --git a/starters/blog/config/_default/config.yaml b/starters/blog/config/_default/config.yaml index ea4867ac..8205e524 100644 --- a/starters/blog/config/_default/config.yaml +++ b/starters/blog/config/_default/config.yaml @@ -14,6 +14,7 @@ cascade: # Blog post options - _target: path: /post/** + pager: true editable: true reading_time: true commentable: true diff --git a/wowchemy/layouts/partials/book_layout.html b/wowchemy/layouts/partials/book_layout.html index cfe43485..693fc438 100644 --- a/wowchemy/layouts/partials/book_layout.html +++ b/wowchemy/layouts/partials/book_layout.html @@ -83,9 +83,9 @@ {{ partial "tags.html" . }} {{/* Show next/previous pages by default. */}} - {{ if ne site.Params.book_section_pager false }} + {{ if ne .Params.pager false }}
{{ end }} diff --git a/wowchemy/layouts/partials/section_pager.html b/wowchemy/layouts/partials/components/pager.html similarity index 100% rename from wowchemy/layouts/partials/section_pager.html rename to wowchemy/layouts/partials/components/pager.html diff --git a/wowchemy/layouts/partials/page_footer.html b/wowchemy/layouts/partials/page_footer.html index d97f9533..b307ad26 100644 --- a/wowchemy/layouts/partials/page_footer.html +++ b/wowchemy/layouts/partials/page_footer.html @@ -4,9 +4,9 @@ {{ partial "page_author" . }} {{ partial "comments" . }} -{{ if site.Params.section_pager }} +{{ if .Params.pager }} {{ end }}