]> git.plutz.net Git - shellwiki/commitdiff
mark language in HTML header
authorPaul Hänsch <paul@plutz.net>
Sun, 21 May 2023 13:45:20 +0000 (15:45 +0200)
committerPaul Hänsch <paul@plutz.net>
Sun, 21 May 2023 13:45:20 +0000 (15:45 +0200)
themes/default.sh

index 3812f060b7dd1ce3d7ccb4c1b277712a40a0d139..0439f0d642421244c6049fa2ef9896389a5e21a5 100755 (executable)
@@ -47,7 +47,7 @@ theme_page(){
 
   cat <<-EOF
        <!DOCTYPE HTML>
-       <html><head>
+       <html${LANGUAGE:+ lang=\"${LANGUAGE}\"}><head>
          $(theme_head)
          <title>${title}</title>
        </head><body id="$(HTML "${PATH_INFO}")">