middleman / middleman-asciidoc

:beginner: AsciiDoc support for Middleman 4. (In Middleman 3, AsciiDoc support is provided by a core extension).
https://middlemanapp.com
Other
27 stars 12 forks source link

resolves #63 make document object available to current page #66

Closed mojavelinux closed 6 years ago

mojavelinux commented 6 years ago

@tdreyno Does this look like the right way to expose the document object (AST) for the current page to the template? Is current_page.data.document the idea you had in mind for this type of use case?