Subject: Re: bug#26302: Multilingual web site is on-line!

From: "pelzflorian (Florian Pelz)" <[email-masked]>
Date: Mon, 27 Jul 2020 13:28:48 +0200

On Mon, Jul 27, 2020 at 04:54:55AM +0300, Dmitry Alexandrov wrote:
> Ludovic Courtès <[email-masked]> wrote:
> > https://guix.gnu.org/
> >
> > report any issues!
> 
> The obvious:
> 
> | <!DOCTYPE html><html lang="lang-tag">
>                              ^~~~~~~~
> 
> ;-)

Thank you!  Clearly testing is necessary.

I will push the attached patch this evening.

Regards,
Florian
>From 2e5c8ad4fda96f1eec635fb3e21a9ef3dc1951e7 Mon Sep 17 00:00:00 2001
From: Florian Pelz <[email-masked]>
Date: Mon, 27 Jul 2020 12:36:39 +0200
Subject: [PATCH] Fix value of html lang attribute.

Reported by Dmitry Alexandrov <[email-masked]>.

* website/apps/base/templates/theme.scm (theme): Add missing unquote.
---
 website/apps/base/templates/theme.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/website/apps/base/templates/theme.scm b/website/apps/base/templates/theme.scm
index f77d341..4734ee5 100644
--- a/website/apps/base/templates/theme.scm
+++ b/website/apps/base/templates/theme.scm
@@ -67,7 +67,7 @@
   `((doctype "html")
 
     (html
-     (@ (lang lang-tag))
+     (@ (lang ,lang-tag))
 
      (head
       ,(if (null? title)
-- 
2.27.0