summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-05-01 23:12:47 +0200
committerRicardo Wurmus <rekado@elephly.net>2020-05-01 23:12:47 +0200
commitb7fbe600728c65506695715fa83b02b9e913ca70 (patch)
tree7bf0d09e5f8705a12deeb60e1a5ee0b2d7443eaa
parent888182e2d33b420ee3ae03f8c7b1a4f389ff57e9 (diff)
view/html: Declare language on HTML tag, not in a meta tag.
* mumi/web/view/html.scm (layout): Add "lang" attribute to HTML tag; remove Content-Language meta tag.
-rw-r--r--mumi/web/view/html.scm3
1 files changed, 1 insertions, 2 deletions
diff --git a/mumi/web/view/html.scm b/mumi/web/view/html.scm
index a7682ab..ec49549 100644
--- a/mumi/web/view/html.scm
+++ b/mumi/web/view/html.scm
@@ -49,11 +49,10 @@
(body '())
(title "Guix issue tracker"))
`((doctype "html")
- (html
+ (html (@ (lang "en"))
(head
(title ,title)
(meta (@ (http-equiv "Content-Type") (content "text/html; charset=UTF-8")))
- (meta (@ (http-equiv "Content-Language") (content "en")))
(meta (@ (name "author") (content "Ricardo Wurmus")))
(meta (@ (name "viewport")
(content "width=device-width, initial-scale=1")))