{%- macro button(behavior="link", params) -%} {%- if params.behavior == "action" -%} {%- if params.text -%} {{ params.text }} {%- else -%} This is a button button {%- endif -%} {%- else -%} {%- if params.text -%} {{ params.text }} {%- else -%} This is a link styled like a button {%- endif -%} {%- endif -%} {%- endmacro -%}