tmpl: inverted section support

closes #55