Begin some advanced chapter8 jinja2 template stuff