Remove unused profile.html page
Reformat template base and inheritance
Fix style issues
Add options to make templates render with whitespace cleaned
Merge branch 'template'

* template:
  Add options to make templates render with whitespace cleaned
  Fix style issues
  Reformat template base and inheritance
  Remove unused profile.html page