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.
21 lines
400 B
HTML
21 lines
400 B
HTML
<!DOCTYPE html>
|
|
<html lang="{{ .Lang }}">
|
|
|
|
{{ partial "head.html" . }}
|
|
|
|
<body>
|
|
|
|
{{ partial "nav.html" . }}
|
|
|
|
<div role="main" class="container main-content">
|
|
<div class="text-center">
|
|
<h1>{{ i18n "pageNotFound" }}</h1>
|
|
<br/>
|
|
<img src="{{ .Site.BaseURL }}/img/404-southpark.jpg" />
|
|
</div>
|
|
</div>
|
|
|
|
{{ partial "footer.html" . }}
|
|
|
|
</body>
|
|
</html>
|