allow navbar to be customized by templates and add title