custom swig template, add some tag or filter