summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authoralex emery <[email protected]>2024-11-03 15:33:28 +0000
committeralex emery <[email protected]>2024-11-03 15:33:28 +0000
commit508527f52de524a4fd174d386808e314b4138b11 (patch)
tree2593af258b67decbf0207e2547b7ea55f6b051d7 /templates
parent22bfae8f9637633d5608caad3ce56b64c6819505 (diff)
feat: static builds
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" . }}