Templates are working, just empty
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
{{define "base"}}
|
||||
<!DOCTYPE html>
|
||||
<!-- For preview and template creation only -->
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>{{ .ViewTitle }}</title>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=no" />
|
||||
<meta name="theme-color" content="#222222">
|
||||
<meta name="robots" content="noindex">
|
||||
<meta name="googlebot" content="noindex">
|
||||
|
||||
<link rel="stylesheet" href="/ui/css/base.css" />
|
||||
<link rel="stylesheet" href="/ui/css/magic.css" />
|
||||
<link rel="stylesheet" href="/ui/css/theme.css" />
|
||||
|
||||
<link rel="stylesheet" media="screen" href="/ui/fonts/SeanSans.css" type="text/css"/>
|
||||
|
||||
<script type="text/javascript" src="/ui/js/background.js"></script>
|
||||
|
||||
{{ template "head" }}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<img id="main-background" src="/ui/img/bg.png" />
|
||||
|
||||
<div id="content-wrapper">
|
||||
<main>
|
||||
{{ template "content" }}
|
||||
</main>
|
||||
|
||||
<nav class="main-menu">
|
||||
{{ template "menu" }}
|
||||
<ul>
|
||||
<li><a><div class="mg-icon">A</div><div class="mg-label">Login</div></a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
{{end}}
|
||||
Reference in New Issue
Block a user