min
added conditional jinja2 test