[mod] try to refactor using include of jinja2