Skip to content

Implement Tera's macros #322

Open
Open
@epage

Description

@epage

Seems like a pretty neat concept might be nice as an "extras" block / tag (non-stdlib feature)

{% define name arg1 arg2 %}
{% endmacro %}

{% macro name arg1:5 arg2:10 %}

See https://tera.netlify.app/docs/#macros

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions