Context for description should be from an external data file matching this page: context-page-data-file.yml. The title will come from context of the inlined files. This is because the inlined files don't have a description field, but they do have a title field.

My Amazing Book

description from CONTEXT-PAGE-DATA-FILE.yml

My Brilliant Blog

My Amazing Book

before-another-chapter-2

Content from My Amazing Book

Chapter 2

Chapter: 2

filename: context-page-data-file.html pagename: context-page-data-file.html basename: context-page-data-file 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

description from CONTEXT-PAGE-DATA-FILE.yml

My Brilliant Blog

My Amazing Book

middle-file-chapter-3

Content from My Amazing Book

Chapter 3

Chapter: 3

filename: context-page-data-file.html pagename: context-page-data-file.html basename: context-page-data-file 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

description from CONTEXT-PAGE-DATA-FILE.yml

My Brilliant Blog

My Amazing Book

something-random-chapter-1

Content from My Amazing Book

Chapter 1

Chapter: 1

filename: context-page-data-file.html pagename: context-page-data-file.html basename: context-page-data-file 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.