Skip to main

Contact Macros

content/_includes/contact.macros.njk

Forms related to OddBird communication.


Macros

form()

Generate a contact form

Params:

  • next {url} = /contact/thanks/

    The landing page after form-submit

  • submit {string} = Send

    text for the submit button

  • name {string} = contact

    Name the form for special cases where a CSS hook is required

social()

Generate a list of social-media icon-links

Params:

  • data {object}

    site-slug/user-id pairs

  • name {string}

    The name of the user


See Also: