Revert "Add a 'capture' jinja2 filter"

This reverts commit 3d06e5b412a69ba10b4ea196ee7e00c0bbf3056d.