Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
79 lines (63 sloc) 2.94 KB
<!DOCTYPE html>
<html lang="en">
<head>
<title>{{ title }}</title>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="shortcut icon" type="image/png" href="/assets/img/favicon.png">
<link rel="stylesheet" href="/assets/css/bootstrap.css">
<link rel="stylesheet" href="/assets/css/gfm.css">
<link rel="stylesheet" href="/assets/css/default.css">
{{ ifDebug | select: <script>{ '/js/hot-loader.js' | includeFile }</script> }}
</head>
<body>
{{ eq(PathInfo,'/') | ifShow: <a id="lnk-github" href="https://github.com/NetCoreApps/TemplatePages"><img style="z-index:3; position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/a6677b08c955af8400f44c6298f40e7d19cc5b2d/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png"></a>
| raw }}
<nav id="topnav" class="navbar navbar-light bg-faded">
<a title="ServiceStack Templates" class="navbar-brand" href="/" style="width:220px;">
<img src="/assets/img/logo-32.png" width="42" height="32" class="d-inline-block align-top" alt="" style="float:left;margin:0 10px 0 0">
<h3>Templates</h3>
</a>
<button id="sidebar-toggle" class="navbar-toggler" type="button">
<span class="navbar-toggler-icon"></span>
</button>
</nav>
<div id="scroll-screen"></div>
<div id="body">
{{ "sidebar" | partial }}
<div id="content">
<h1>{{ title }}</h1>
{{ page }}
</div>
</div>
<div id="sig"><p>made with <span>&#10084;</span> by <a target="_blank" href="https://servicestack.net" title="ServiceStack">ServiceStack</a></p></div>
<script src="/assets/js/jquery-3.2.1.min.js"></script>
<script src="/assets/js/bootstrap.min.js"></script>
<script src="/assets/js/default.js"></script>
<script>
var pathinfo = location.pathname + location.hash;
if (pathinfo != "/")
{
var scrollItem = $("#sidebar").find("a[href='" + pathinfo + "']")
.parents().filter("div>ul>li")[0];
if (scrollItem) {
scrollItem.scrollIntoView({
block: "start"
});
}
}
$("#sidebar-toggle").click(function(){
$("#sidebar").fadeToggle()
})
</script>
{{ scripts | ifExists }}
<!-- Global Site Tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-7722718-14"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments)};
gtag('js', new Date());
gtag('config', 'UA-7722718-14');
</script>
</body>
</html>