Improves HtmlFormat to include `error` template property with the error message
Fixes HtmlFormat to check availability of parameters before accessing them
Improves Nav, to add support for anchor links