2022-11-20 03:06:41 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8"/>
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
|
|
|
<meta name="twitter:card" content="summary"/>
|
2022-11-20 23:34:41 +01:00
|
|
|
<meta name="twitter:title" content="zotan.pw >> @ViewData["title"]"/>
|
|
|
|
<meta name="twitter:description" content="@ViewData["desc"]"/>
|
2022-11-20 20:48:22 +01:00
|
|
|
@if (ViewData.ContainsKey("subtitle")) {
|
|
|
|
<title>zotan.pw >> @ViewData["title"] >> @ViewData["subtitle"]</title>
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
<title>zotan.pw >> @ViewData["title"]</title>
|
|
|
|
}
|
2022-11-21 21:47:11 +01:00
|
|
|
<link rel="stylesheet" href="~/css/site.css?v=@Utils.LinkVersion"/>
|
2022-11-20 03:06:41 +01:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<header>
|
|
|
|
<nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-light bg-white border-bottom box-shadow mb-3">
|
|
|
|
<div class="container">
|
|
|
|
<h1>
|
2022-11-20 20:48:22 +01:00
|
|
|
@{
|
|
|
|
var path = Context.Request.Path.Value?.TrimStart('/').Split("/");
|
|
|
|
var sublink = path?.Length >= 1 ? path[0] : "/";
|
|
|
|
var subsublink = path?.Length >= 2 ? path[1] : "/";
|
|
|
|
}
|
|
|
|
@if (ViewData.ContainsKey("subtitle")) {
|
|
|
|
<span>
|
|
|
|
<a href="/">zotan.pw</a> >> <a href="/@sublink">@ViewData["title"]</a> >> <a href="/@sublink/@subsublink">@ViewData["subtitle"]</a>
|
|
|
|
</span>
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
<span>
|
|
|
|
<a href="/">zotan.pw</a> >> <a href="/@sublink">@ViewData["title"]</a>
|
|
|
|
</span>
|
|
|
|
}
|
2022-11-20 03:06:41 +01:00
|
|
|
</h1>
|
2022-11-20 17:00:51 +01:00
|
|
|
@await RenderSectionAsync("head", false)
|
2022-11-20 03:06:41 +01:00
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
</header>
|
|
|
|
<div class="container">
|
|
|
|
<section id="main_content">
|
|
|
|
@RenderBody()
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
|
2022-11-20 17:00:51 +01:00
|
|
|
<div style="text-align: center;">
|
|
|
|
@await RenderSectionAsync("prefooter", false)
|
2022-11-20 03:06:41 +01:00
|
|
|
<p style="color: #666666">--- Served by @Environment.MachineName running <a class="footerlink" href="https://git.ztn.sh/zotan/zotan.pw-web/commit/@Utils.LinkVersion" target="_blank">zotan.pw-web @Utils.Version</a> on .NET @Environment.Version ---</p>
|
2022-11-20 17:00:51 +01:00
|
|
|
@await RenderSectionAsync("postfooter", false)
|
2022-11-20 03:06:41 +01:00
|
|
|
</div>
|
|
|
|
</body>
|
2022-11-20 23:34:41 +01:00
|
|
|
</html>
|