907f9a6276
BREAKING CHANGE: the variable 'pkg' was renamed 'pkg.name', update your pillars
15 lines
248 B
Django/Jinja
15 lines
248 B
Django/Jinja
# -*- coding: utf-8 -*-
|
|
# vim: ft=jinja
|
|
#
|
|
# Collection of common macros
|
|
|
|
{%- macro format_kwargs(kwarg) -%}
|
|
|
|
{%- filter indent(4) %}
|
|
{%- for k, v in kwarg|dictsort() %}
|
|
- {{ k }}: {{ v }}
|
|
{%- endfor %}
|
|
{%- endfilter %}
|
|
|
|
{%- endmacro %}
|