mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-20 06:51:55 +00:00
Fixed html lang is static
This commit is contained in:
@@ -1,11 +1,13 @@
|
|||||||
@using Microsoft.AspNetCore.Mvc.Localization
|
@using Microsoft.AspNetCore.Mvc.Localization
|
||||||
@using System.Security.Claims
|
@using System.Security.Claims
|
||||||
|
@using System.Globalization
|
||||||
|
|
||||||
@inject IViewLocalizer T
|
@inject IViewLocalizer T
|
||||||
@{
|
@{
|
||||||
bool IsAuthenticated = User.Identity?.IsAuthenticated ?? false;
|
bool IsAuthenticated = User.Identity?.IsAuthenticated ?? false;
|
||||||
}
|
}
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="@CultureInfo.CurrentUICulture.TwoLetterISOLanguageName">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="description" content="Hardware asset management tool" />
|
<meta name="description" content="Hardware asset management tool" />
|
||||||
|
|||||||
Reference in New Issue
Block a user