Explicit emptybranches in templated configs

Examples in this entry use Jinaj2 syntax, but the topic is completely stack agnostic and does not require deep understanding of any specific templating language. Problem statement When templating config files, it's not uncommon that one ends up with some form of the following: {% if something %} some-config-statement {% endif %} It's a conditionally added statement, so not just a config param that…