13 lines
246 B
Plaintext
13 lines
246 B
Plaintext
|
# -*- 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 %}
|