Fix urls and title in template.