Set titles in views rather than template.
Merge set-titles-in-views (#14) into master

Set titles in views rather than template.

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