templates/base: add meta charset, doctype declaration and fix meta tag