Set a corresponding lang attr to an html tag.
This commit is contained in:
parent
1d079772ff
commit
99aa85f271
@ -10,7 +10,7 @@ import "git.arav.su/Arav/dwelling-home/pkg/util"
|
|||||||
|
|
||||||
templ base(title, description, keywords, canonical string, r *http.Request, head templ.Component) {
|
templ base(title, description, keywords, canonical string, r *http.Request, head templ.Component) {
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang={ i18n.GetLocale(ctx).Code().String() }>
|
||||||
<head>
|
<head>
|
||||||
if title != "" && title != "Home" {
|
if title != "" && title != "Home" {
|
||||||
<title>{ title } - Arav's dwelling</title>
|
<title>{ title } - Arav's dwelling</title>
|
||||||
|
Loading…
Reference in New Issue
Block a user