Set titles in views rather than template.

This will make it easier to use the DB once setup.