tesses-cms/Tesses.CMS/Assets/PageShell.html

50 lines
1.9 KiB
HTML
Raw Permalink Normal View History

2023-12-16 01:40:05 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{title}}</title>
<link rel="stylesheet" href="{{rooturl}}bootstrap.min.css">
2024-07-28 22:59:28 +00:00
<link rel="apple-touch-icon" sizes="180x180" href="{{rooturl}}apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="{{rooturl}}favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="{{rooturl}}favicon-16x16.png">
<link rel="manifest" href="{{rooturl}}site.webmanifest">
2024-01-04 02:53:13 +00:00
<style>
.wrapped-link {
width: 120px;
}
.wrapped-link a {
word-wrap: break-word;
}
</style>
2023-12-16 01:40:05 +00:00
</head>
<body>
<header>
<nav class="navbar navbar-expand-lg bg-body-tertiary">
<div class="container-fluid">
<a class="navbar-brand" href="{{rooturl}}">{{title}}</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link {{ if ishome }} active {{ end }}" {{ if ishome }} aria-current="page" {{ end }} href="{{rooturl}}">Home</a>
</li>
{{for url in urls}}
<li class="nav-item">
<a class="nav-link {{ if url.active }} active {{ end }}" {{ if url.active }} aria-current="page" {{ end }} href="{{url.url}}">{{url.text}}</a>
</li>
{{end}}
</ul>
</div>
</div>
</nav>
</header>
<main>
2024-01-04 02:53:13 +00:00
{{body}}
2023-12-16 01:40:05 +00:00
</main>
<script src="{{rooturl}}bootstrap.min.js"></script>
</body>
</html>