Fix HTML issues

* Fix encoding in website title
* Move remaining HTML from Perl-code to templates