Fix document title in Jinja templates.