summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/layouts/_default.html11
1 files changed, 6 insertions, 5 deletions
diff --git a/templates/layouts/_default.html b/templates/layouts/_default.html
index ae6f8a8..5b9521c 100644
--- a/templates/layouts/_default.html
+++ b/templates/layouts/_default.html
@@ -12,18 +12,19 @@
<link rel="stylesheet" href="/static/styles.css">
<link rel="stylesheet" href="/static/syntax.css">
</head>
+
<body>
<h1>a73x</h1>
<sub>high effort, low reward</sub>
<nav class="nav">
<ul>
- {{ range $vvv, $navPair:= .Nav}}
- {{ if eq $.Path $navPair.Path }}
+ {{ range $vvv, $navPair:= .Nav}}
+ {{ if eq $.Path $navPair.Path }}
<li><a href="{{$navPair.Path}}">{{$navPair.Title}}</a></li>
- {{else}}
+ {{else}}
<li><a class="no-decorations" href="{{$navPair.Path}}">{{$navPair.Title}}</a></li>
- {{end}}
- {{end}}
+ {{end}}
+ {{end}}
</ul>
</nav>
{{ template "content" . }}