|
@@ -2,26 +2,26 @@
|
|
<html lang="en">
|
|
<html lang="en">
|
|
<head>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta charset="utf-8">
|
|
- <title>{{name}} | sitename </title>
|
|
|
|
- <link rel="stylesheet" type="text/css" href="/css/main.css#{{version}}">
|
|
|
|
|
|
+ <title>{{.name}} | sitename </title>
|
|
|
|
+ <link rel="stylesheet" type="text/css" href="/css/main.css#{{.version}}">
|
|
</head>
|
|
</head>
|
|
<body>
|
|
<body>
|
|
|
|
|
|
<header>
|
|
<header>
|
|
<h2>Site Title or Logo</h2>
|
|
<h2>Site Title or Logo</h2>
|
|
<nav>
|
|
<nav>
|
|
- <ul>{{range navigation}}
|
|
|
|
- <li><a href='{{link}}'>{{name}}</a></li>
|
|
|
|
|
|
+ <ul>{{range .navigation}}
|
|
|
|
+ <li><a href='{{.link}}'>{{.name}}</a></li>
|
|
{{end}}</ul>
|
|
{{end}}</ul>
|
|
</nav>
|
|
</nav>
|
|
</header>
|
|
</header>
|
|
|
|
|
|
- <div class="content">{{content}}</div>
|
|
|
|
|
|
+ <div class="content">{{.content}}</div>
|
|
|
|
|
|
<div class="footer">
|
|
<div class="footer">
|
|
<p>Worthless copyrights, or maybe useful contact information.</p>
|
|
<p>Worthless copyrights, or maybe useful contact information.</p>
|
|
<div class="scripts">
|
|
<div class="scripts">
|
|
- <script type="text/javascript" src="/js/main.js#{{version}}"></script>
|
|
|
|
|
|
+ <script type="text/javascript" src="/js/main.js#{{.version}}"></script>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|