From ecbd6554ec7feae047720b16692ec734011bbfdf Mon Sep 17 00:00:00 2001
From: opi <opi@zeropi.net>
Date: Wed, 18 Jul 2018 12:47:23 +0200
Subject: [PATCH] Ajout du langcode a la balise html + class sur body.

---
 templates/page.tmpl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/page.tmpl b/templates/page.tmpl
index a48b008..90b645d 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -1,5 +1,5 @@
 <TMPL_IF HTML5><!DOCTYPE html>
-<html>
+<html lang="<TMPL_VAR HTML_LANG_CODE>">
 <TMPL_ELSE><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -39,7 +39,7 @@
 </TMPL_LOOP>
     <script defer src="<TMPL_VAR BASEURL>assets/scripts.js" type="text/javascript"></script>
 </head>
-<body class="">
+<body class="lang-<TMPL_VAR HTML_LANG_CODE>">
 <div class="body-wrapper">
     <!-- HEADER -->
     <TMPL_IF HTML5><header class="header"><TMPL_ELSE><div class="header"></TMPL_IF>
-- 
2.39.5