Authors

A byline: an ordered list of authors, rendered as one grammatical line. Opt-in with data-type, never inferred.

When it is used

Add data-type="authors" to opt in. The author builds an ordered list from your site's users, or types in guests, and nanoesis renders it as a single line: "A", "A and B", or "A, B and C", with no Oxford comma.

Names are stored by user where possible, so changing someone's display name updates every past byline automatically.

Example

Add data-type="authors" to opt in:

<p class="byline" data-type="authors">{authors}</p>

In the editor

In the editor this is a pill control: add authors in order, drag to reorder, and mix registered users with one-off guests.

The published page shows the names joined into one natural sentence.