Use the correct language in lang attributes
Set the lang attribute in the html element to be the right language, and also add lang attributes to text in a language that is different to the page language, such as the language switcher links.
This commit is contained in:
parent
ff657d2db1
commit
9c467304ec
6 changed files with 7 additions and 7 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<html lang="{{ .Lang }}">
|
||||
|
||||
{{ partial "head.html" . }}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<html lang="{{ .Lang }}">
|
||||
|
||||
{{ partial "head.html" . }}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<html lang="{{ .Lang }}">
|
||||
|
||||
{{ partial "head.html" . }}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue