mirror of
https://github.com/hrfee/jfa-go.git
synced 2026-01-18 16:47:42 +01:00
ui: correct html lang tag
set according to the language picked.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" class="{{ .cssClass }}">
|
||||
<html lang="{{ .shortLang }}" class="{{ .cssClass }}">
|
||||
<head>
|
||||
<title>404 - jfa-go</title>
|
||||
{{ template "header.html" . }}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" class="{{ .cssClass }}">
|
||||
<html lang="{{ .shortLang }}" class="{{ .cssClass }}">
|
||||
<head>
|
||||
{{ template "syntaxhighlighting.html" . }}
|
||||
<script>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<html lang="{{ .shortLang }}">
|
||||
<head>
|
||||
<!--- This CSS is inlined so we should keep this here! -->
|
||||
<link inline rel="stylesheet" type="text/css" href="web/css/v0.6.0bundle.css">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" class="{{ .cssClass }}">
|
||||
<html lang="{{ .shortLang }}" class="{{ .cssClass }}">
|
||||
<head>
|
||||
{{ template "header.html" . }}
|
||||
<title>{{ .strings.successHeader }} - jfa-go</title>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" class="{{ .cssClass }}">
|
||||
<html lang="{{ .shortLang }}" class="{{ .cssClass }}">
|
||||
<head>
|
||||
{{ template "header.html" . }}
|
||||
{{ if .passwordReset }}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" class="{{ .cssClass }}">
|
||||
<html lang="{{ .shortLang }}" class="{{ .cssClass }}">
|
||||
<head>
|
||||
{{ template "header.html" . }}
|
||||
<title>Invalid Code - jfa-go</title>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" class="{{ .cssClass }}">
|
||||
<html lang="{{ .shortLang }}" class="{{ .cssClass }}">
|
||||
<head>
|
||||
{{ template "header.html" . }}
|
||||
<title>{{ .strings.passwordReset }} - jfa-go</title>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" class="light">
|
||||
<html lang="{{ .shortLang }}" class="light">
|
||||
<head>
|
||||
{{ template "header.html" . }}
|
||||
<title>{{ .lang.Strings.pageTitle }}</title>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" class="light">
|
||||
<html lang="{{ .shortLang }}" class="light">
|
||||
<head>
|
||||
<script>
|
||||
window.langFile = JSON.parse({{ .language }});
|
||||
|
||||
Reference in New Issue
Block a user