Skip to main

Bird Macros

content/_includes/birds.macros.njk


names & links

authors()

Pass in one or more authors, and return a display-ready list with links to author pages.

Params:

  • names {string | list}

    Author slugs tend to be lowercase, first-name. We also support oddbird, which links to the “about” page, and will show up in lists for all oddbirds.

  • collections {11ty collections object} = none

    When collections are provided, we can find and link to author pages.

authors()

Convert an author slug into full name and optional link to author-page

Params:

  • name {string}

    Author slugs tend to be lowercase, first-name. We also support oddbird, which links to the “about” page, and will show up in lists for all oddbirds.

  • collections {11ty collections object} = none

    When collections are provided, we can find and link to author pages.


See Also: