mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-28 16:08:38 +00:00
Show instance custom name in tab title
This commit is contained in:
parent
8ead63943f
commit
48d8cb1a02
1 changed files with 3 additions and 3 deletions
|
@ -33,11 +33,11 @@
|
||||||
<head>
|
<head>
|
||||||
@if (Model.Title == string.Empty)
|
@if (Model.Title == string.Empty)
|
||||||
{
|
{
|
||||||
<title>Project Lighthouse</title>
|
<title>@ServerConfiguration.Instance.Customization.ServerName</title>
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
<title>Project Lighthouse - @Model.Title</title>
|
<title>@ServerConfiguration.Instance.Customization.ServerName - @Model.Title</title>
|
||||||
}
|
}
|
||||||
<link rel="stylesheet" type="text/css" href="~/css/styles.css">
|
<link rel="stylesheet" type="text/css" href="~/css/styles.css">
|
||||||
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/fomantic-ui@2.8.8/dist/semantic.min.css">
|
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/fomantic-ui@2.8.8/dist/semantic.min.css">
|
||||||
|
@ -52,7 +52,7 @@
|
||||||
|
|
||||||
@* Embed Stuff *@
|
@* Embed Stuff *@
|
||||||
<meta name="theme-color" data-react-helmet="true" content="#008cff">
|
<meta name="theme-color" data-react-helmet="true" content="#008cff">
|
||||||
<meta content="Project Lighthouse - @Model.Title" property="og:title">
|
<meta content="@ServerConfiguration.Instance.Customization.ServerName - @Model.Title" property="og:title">
|
||||||
@if (!string.IsNullOrEmpty(Model.Description))
|
@if (!string.IsNullOrEmpty(Model.Description))
|
||||||
{
|
{
|
||||||
<meta content="@Model.Description" property="og:description">
|
<meta content="@Model.Description" property="og:description">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue