Add templates for testing

This commit is contained in:
Manuel Thalmann 2019-10-07 17:10:00 +00:00
parent 6c72e6200f
commit ac76bf6715
2 changed files with 45 additions and 0 deletions

View file

45
src/Templates/Page.ss Normal file
View file

@ -0,0 +1,45 @@
<!doctype html>
<html class="h-100">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<% base_tag %>
$MetaTags()
<% require themedCSS("mantra") %>
<% require themedJavascript("mantra") %>
</head>
<body class="d-flex flex-column h-100">
<% if $Menu(1) %>
<div class="col-1">
<nav>
<div class="active">
<a>
$Title
</a>
<ul class="nav bd-sidenav">
<% loop $Menu(1) %>
<li class="$LinkingMode">
<a href="$Link">
$MenuTitle
</a>
</li>
<% end_loop %>
</ul>
</div>
</nav>
</div>
<% end_if %>
<main role="main" class="col-11 flex-shrink-0">
<div class="container">
<% loop $Menu(1) %>
<li><a class="$LinkingMode" href="$Link" title="Go to the $Title page">$MenuTitle</a></li>
<% end_loop %>
<h1 class="display-4">
$MenuTitle
</h1>
$Content
</div>
</main>
</body>
</html>