Update <html> lang parameter depending on locale

parent 39757c0f
Pipeline #1475 passed with stage
in 41 seconds
......@@ -164,6 +164,7 @@ app.get('/', function(req, res) {
host: req.headers.host,
imageParams: req._parsedUrl.query,
subdir: config.subdir,
locale: req.i18n.getLocale(),
_: req.i18n._});
})
......
doctype html
html(lang="fr")
html(lang=locale)
head(prefix="og: http://ogp.me/ns#")
meta(charset="utf-8")
meta(name="viewport" content="width=device-width, initial-scale=1.0")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment