Sign in or sign up before continuing. Don't have an account yet? Register now to get started.
Register now

Add support for writing preview pages in AsciiDoc

Currently, pages in the preview site must be written as embeddable HTML. This not only makes editing preview pages tedious, it's also easy to create HTML that is different than what the AsciiDoc processor produces. Instead, it should be possible to write the preview pages in AsciiDoc and have the build automatically convert those pages to embeddable HTML.

Include the following capabilities:

  • Only support preview pages written in AsciiDoc
  • Process page attributes (page-*) and assign them to the page.attributes property in the UI model
  • Set the page.layout property in the UI model to the value of the page-layout attribute, if specified (otherwise default)
  • Use the 404 layout if the file stem is 404, otherwise use the value of the page.layout property in the UI model
  • Assign the document title to the page.title property in the UI model
Edited Dec 30, 2018 by Dan Allen
Assignee Loading
Time tracking Loading