You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ombi/Old/Ombi.UI/Views/Shared/Partial/_Head.cshtml

35 lines
843 B

8 years ago
@using Nancy.Security
@using Nancy.Session
8 years ago
@using Ombi.UI.Helpers
@using Ombi.UI.Resources
8 years ago
@using Ombi.UI.Resources
8 years ago
@inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<dynamic>
@{
var baseUrl = Html.GetBaseUrl();
var url = string.Empty;
if (!string.IsNullOrEmpty(baseUrl.ToHtmlString()))
{
url = "/" + baseUrl.ToHtmlString();
}
8 years ago
var title = UI.Layout_Title;
var customName = Html.GetApplicationName().ToHtmlString();
if (!string.IsNullOrEmpty(customName))
{
title = customName;
}
8 years ago
}
<div hidden="hidden" id="baseUrl">@baseUrl.ToHtmlString()</div>
<head>
8 years ago
<title>@title</title>
<meta charset="utf-8">
8 years ago
<!-- Styles -->
<meta name="viewport" content="width=device-width, initial-scale=1">
8 years ago
@Html.LoadFavIcon()
8 years ago
@Html.LoadAnalytics()
@Html.LoadAssets()
</head>