Here we are passing any explicit context, blog, to the helper.
Custom sep hash
Custom separator defined in the options hash.
My Brilliant Blog
My Amazing Book
before-another-chapter-2
Content from Custom sep hash
Chapter 2
Chapter: 2
filename: context-page-yfm.html
pagename: context-page-yfm.html
basename: context-page-yfm
ext: .html
id: before-another-chapter-2
filepath: test/fixtures/book/before-another-chapter-2.md
index: 1
number: 2
first:
prev: 0
next: 2
last:
Content from test/fixtures/book/before-another-chapter-2.md.
Custom sep hash
Custom separator defined in the options hash.
My Brilliant Blog
My Amazing Book
middle-file-chapter-3
Content from Custom sep hash
Chapter 3
Chapter: 3
filename: context-page-yfm.html
pagename: context-page-yfm.html
basename: context-page-yfm
ext: .html
id: middle-file-chapter-3
filepath: test/fixtures/book/middle-file-chapter-3.md
index: 2
number: 3
first:
prev: 1
next: 3
last: true
Content from test/fixtures/book/middle-file-chapter-3.md.
Custom sep hash
Custom separator defined in the options hash.
My Brilliant Blog
My Amazing Book
something-random-chapter-1
Content from Custom sep hash
Chapter 1
Chapter: 1
filename: context-page-yfm.html
pagename: context-page-yfm.html
basename: context-page-yfm
ext: .html
id: something-random-chapter-1
filepath: test/fixtures/book/something-random-chapter-1.md
index: 3
number: 4
first:
prev: 2
next: 4
last:
Content from test/fixtures/book/something-random-chapter-1.md.