1f86f4a27c
BREAKING CHANGE: the parameter `pkg` is now a dictionary. References to `prometheus.pkg` should be changed to `prometheus.pkg.name`.
13 lines
246 B
Django/Jinja
13 lines
246 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 %}
|