Here we are passing any explicit context, blog, to the helper.
My Amazing Book
Custom separator defined in the options hash.
My Brilliant Blog
My Amazing Book
before-another-chapter-2
Content from My Amazing Book
Chapter 2
Chapter: 2
filename: context-target-yfm.html
pagename: context-target-yfm.html
basename: context-target-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.
My Amazing Book
Custom separator defined in the options hash.
My Brilliant Blog
My Amazing Book
middle-file-chapter-3
Content from My Amazing Book
Chapter 3
Chapter: 3
filename: context-target-yfm.html
pagename: context-target-yfm.html
basename: context-target-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.
My Amazing Book
Custom separator defined in the options hash.
My Brilliant Blog
My Amazing Book
something-random-chapter-1
Content from My Amazing Book
Chapter 1
Chapter: 1
filename: context-target-yfm.html
pagename: context-target-yfm.html
basename: context-target-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.
<li class="link">a</li>
<li class="link">b</li>
<li class="link">c</li>