Stop living the lie that we're pretending to be XHTML Transitional and
embrace HTML5. And save a whole bunch of bytes right off the bat!
Also, use a valid language/locale identifier--we need hyphens instead of
underscores.
Signed-off-by: Dan Scott <dan@coffeecode.net>
Signed-off-by: Ben Shum <bshum@biblio.org>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns='http://www.w3.org/1999/xhtml' lang='[% ctx.locale %]' xml:lang='[% ctx.locale %]'>
+<!DOCTYPE html>
+<html lang='[% ctx.locale.replace('_', '-') %]'>
<head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+ <meta charset="utf-8" />
[% IF ctx.refresh %]
<meta http-equiv="refresh" content="[% ctx.refresh %]">
[% ELSIF ctx.authtime %]