53 lines
2.0 KiB
Plaintext
53 lines
2.0 KiB
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<partial name="Gtm" />
|
|
<meta charset="utf-8" />
|
|
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8" />
|
|
<meta name="author" content="Tommy "TerribleDev" Parnell" />
|
|
<meta name="theme-color" content="#4A4A4A" />
|
|
<link rel="alternate" type="application/atom+xml" title="RSS" href="/rss.xml" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<link rel="alternate" type="application/atom+xml" title="RSS" href="/rss.xml">
|
|
<link rel="manifest" href="~/manifest.json" asp-append-version="true">
|
|
<link asp-append-version="true" rel="icon" href="~/favicon.ico" />
|
|
<title>@ViewData["Title"] - The Ramblings of TerribleDev</title>
|
|
<environment names="Development">
|
|
<link asp-append-version="true" rel="stylesheet" href="~/css/site.css" />
|
|
</environment>
|
|
<environment names="Production">
|
|
<link asp-append-version="true" rel="stylesheet" href="~/css/site.min.css" />
|
|
</environment>
|
|
@RenderSection("Head", false)
|
|
</head>
|
|
<body>
|
|
@if (ViewData["RenderNav"] != null)
|
|
{
|
|
<desktopOnly user-agent="@this.Context.Request.Headers["User-Agent"]">
|
|
<partial name="Nav" />
|
|
</desktopOnly>
|
|
<main role="main" class="bodyWithNav">
|
|
<div class="main-content-wrap">
|
|
@RenderBody()
|
|
</div>
|
|
</main>
|
|
}
|
|
else
|
|
{
|
|
<header class="header">
|
|
<div><a href="/" class="link-unstyled">The Ramblings of TerribleDev</a></div>
|
|
</header>
|
|
<main role="main" class="main-content-wrap headerBump">
|
|
@RenderBody()
|
|
</main>
|
|
}
|
|
@RenderSection("Scripts", required: false)
|
|
<environment names="Development">
|
|
<script asp-append-version="true" src="~/js/swi.js" async></script>
|
|
</environment>
|
|
<environment names="Production">
|
|
<script asp-append-version="true" src="~/js/site.min.js" async></script>
|
|
</environment>
|
|
</body>
|
|
</html>
|