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

Document how to make additional site- attributes available to AsciiDoc document #80

Closed mojavelinux closed 6 years ago

mojavelinux commented 6 years ago

Middleman does not have a standard category in the template model for site data. However, this is often a category site authors end up introducing into their site. Document how to make data in the site category available to the template model.

mojavelinux commented 6 years ago

Now that we've documented this, the question is whether to automatically detect the presence of app.data.site, flatten the data to attributes, and pass this information to the AsciiDoc processor.