diff --git a/ProjectLighthouse.Servers.Website/Pages/Layouts/BaseLayout.cshtml b/ProjectLighthouse.Servers.Website/Pages/Layouts/BaseLayout.cshtml index 8e4eda35..9e5300f7 100644 --- a/ProjectLighthouse.Servers.Website/Pages/Layouts/BaseLayout.cshtml +++ b/ProjectLighthouse.Servers.Website/Pages/Layouts/BaseLayout.cshtml @@ -29,20 +29,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) - { - @ServerConfiguration.Instance.Customization.ServerName - } - else - { - @ServerConfiguration.Instance.Customization.ServerName - @Model.Title - } + @title @@ -56,7 +59,7 @@ @* Embed Stuff *@ - + @if (!string.IsNullOrEmpty(Model.Description)) {