web.template.render may not find the relative path.

This may fail without change the directory.

web.template.render('templates/', cache=False).index()