guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/04: Specify the language on the html tag


From: Christopher Baines
Subject: 01/04: Specify the language on the html tag
Date: Wed, 8 Apr 2020 13:15:16 -0400 (EDT)

cbaines pushed a commit to branch master
in repository data-service.

commit 0b9098981a7edcc97f5425ffb71a8b6a25287032
Author: Christopher Baines <address@hidden>
AuthorDate: Wed Apr 8 17:40:20 2020 +0100

    Specify the language on the html tag
    
    Rather than using a meta tag, apparently this is better.
---
 guix-data-service/web/view/html.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix-data-service/web/view/html.scm 
b/guix-data-service/web/view/html.scm
index 0f003ec..0e80454 100644
--- a/guix-data-service/web/view/html.scm
+++ b/guix-data-service/web/view/html.scm
@@ -67,11 +67,11 @@
                  (title "Guix Data Service"))
   `((doctype "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 "Christopher Baines")))
       (meta (@ (name "viewport")
                (content "width=device-width, initial-scale=1")))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]