|
|
|
@ -1,23 +1,27 @@
|
|
|
|
|
@using zotanpw.Backend
|
|
|
|
|
@{
|
|
|
|
|
var title = ViewData.ContainsKey("subtitle") ? $"zotan.pw >> {ViewData["title"]} >> {ViewData["subtitle"]}" : $"zotan.pw >> {ViewData["title"]}";
|
|
|
|
|
if (string.IsNullOrEmpty(ViewData["og-title"] as string))
|
|
|
|
|
ViewData["og-title"] = title;
|
|
|
|
|
}
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8"/>
|
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="chrome=1"/>
|
|
|
|
|
<meta name="twitter:card" content="summary"/>
|
|
|
|
|
<meta name="og:title" content="zotan.pw >> @ViewData["title"]"/>
|
|
|
|
|
<meta name="og:description" content="@ViewData["desc"]"/>
|
|
|
|
|
@if (ViewData.ContainsKey("subtitle")) {
|
|
|
|
|
<title>zotan.pw >> @ViewData["title"] >> @ViewData["subtitle"]</title>
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
<title>zotan.pw >> @ViewData["title"]</title>
|
|
|
|
|
}
|
|
|
|
|
<meta name="og:title" content="@ViewData["og-title"]"/>
|
|
|
|
|
<meta name="og:description" content="@ViewData["og-desc"]"/>
|
|
|
|
|
<meta name="og:site_name" content="@Html.Encode(ViewData["og-sitename"])"/>
|
|
|
|
|
<meta name="og:image" content="@ViewData["og-image"]"/>
|
|
|
|
|
|
|
|
|
|
<title>@title</title>
|
|
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="~/css/site.css?v=@Utils.LinkVersion"/>
|
|
|
|
|
@await RenderSectionAsync("head", false)
|
|
|
|
|
<environment include="Production">
|
|
|
|
|
<script async defer data-website-id="06fcb20d-431a-4251-b6cb-859d9a7384ee" src="https://evilthirdparty.click/spyinator3000.js"></script>
|
|
|
|
|
</environment>
|
|
|
|
|
@await RenderSectionAsync("head", false)
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<header>
|
|
|
|
|