diff --git a/ProjectLighthouse.Servers.Website/Pages/Layouts/BaseLayout.cshtml b/ProjectLighthouse.Servers.Website/Pages/Layouts/BaseLayout.cshtml index f19c67e2..5b65cd09 100644 --- a/ProjectLighthouse.Servers.Website/Pages/Layouts/BaseLayout.cshtml +++ b/ProjectLighthouse.Servers.Website/Pages/Layouts/BaseLayout.cshtml @@ -25,20 +25,23 @@ } Model.IsMobile = Model.Request.IsMobile(); + + string title; + if (Model.Title == string.Empty) + { + title = ServerConfiguration.Instance.Customization.ServerName; + } + else + { + title = $"{Model.Title} - {ServerConfiguration.Instance.Customization.ServerName}"; + } }
- @if (Model.Title == string.Empty) - { -