Skip to main

OddNews Macros

content/_includes/oddnews.macros.njk

Macros related to OddNews newsletter.

Macros

oddnews_signup()

Generate an OddNews signup form

Params:

  • heading {boolean} = true

    Whether to include the “OddNews Sign Up” heading

  • tag {string} = footer

    tag for page where signup form is located: ‘footer’ or ‘oddblog’ or ‘oddnews’

  • class {string} = none

    optional class to add to wrapping <div>

See Also