Fix index.html template rendering

The `zapp` variable wasn't being provided to the template rendering, and
thus was failing.