fix(localization): HTML language header and forced-language (#787)
* fix: HTML language header and forced-language * style(changelog): added a couple headers * add test
This commit is contained in:
parent
e79cd93b61
commit
a900e98b8b
6 changed files with 275 additions and 253 deletions
|
|
@ -10,7 +10,7 @@ import (
|
|||
|
||||
templ base(title string, body templ.Component, impressum *config.Impressum, challenge any, ogTags map[string]string, localizer *localization.SimpleLocalizer) {
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<html lang={localizer.GetLang()}>
|
||||
<head>
|
||||
<title>{ title }</title>
|
||||
<link rel="stylesheet" href={ anubis.BasePrefix + xess.URL }/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue