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

Store author information in author model #64

Closed mojavelinux closed 6 years ago

mojavelinux commented 6 years ago

Use an author model to store author information for the current page. The model should include name, which is required, and email or url, if specified.

To maintain backwards capability with existing templates, the #to_s method should be defined to return the name.