Skip to content

Commit

Permalink
set html lang based on AppData.Lang (#835)
Browse files Browse the repository at this point in the history
  • Loading branch information
acsauk authored Nov 11, 2023
1 parent 47d115c commit 2d8d48f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/template/layout/page.gohtml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{ define "page" }}
<!DOCTYPE html>
<html lang="en" class="govuk-template app-html-class">
<html lang="{{ .App.Lang.String }}" class="govuk-template app-html-class">
<head>
<meta charset="utf-8">
<title>{{ if .Errors }}Error: {{ end }} {{ if not (eq .App.Page .App.Paths.Start .App.Paths.CertificateProviderStart .App.Paths.Attorney.Start) }}{{ block "pageTitle" . }}{{ end }} - {{ end }}{{ tr .App "serviceName" }}</title>
Expand Down

0 comments on commit 2d8d48f

Please sign in to comment.