summaryrefslogtreecommitdiff
path: root/templates/layouts
diff options
context:
space:
mode:
authora73x <[email protected]>2024-12-12 14:39:46 +0000
committera73x <[email protected]>2024-12-12 14:39:46 +0000
commitf71e02f096f4b856a8ebd0323cebfd958bb17359 (patch)
tree7a44b8870cf072750d6f72bf334bfba1540e02d1 /templates/layouts
parent3f78ec07bedf287277f2ab0de9b246100f3e6af9 (diff)
regen with new header
Diffstat (limited to 'templates/layouts')
-rw-r--r--templates/layouts/_default.html30
1 files changed, 17 insertions, 13 deletions
diff --git a/templates/layouts/_default.html b/templates/layouts/_default.html
index 4ea8888..dfc5a7e 100644
--- a/templates/layouts/_default.html
+++ b/templates/layouts/_default.html
@@ -15,19 +15,23 @@
<body>
<main>
- <h1>a73x</h1>
- <sub>high effort, low reward</sub>
- <nav class="nav">
- <ul>
- {{ range $vvv, $navPair:= .Nav}}
- {{ if eq $.Path $navPair.Path }}
- <li><a href="{{$navPair.Path}}">{{$navPair.Title}}</a></li>
- {{else}}
- <li><a class="no-decorations" href="{{$navPair.Path}}">{{$navPair.Title}}</a></li>
- {{end}}
- {{end}}
- </ul>
- </nav>
+ <div class="header">
+ <div class="header-title">
+ <h1>a73x</h1>
+ <sub>high effort, low reward</sub>
+ </div>
+ <nav class="nav">
+ <ul>
+ {{ range $vvv, $navPair:= .Nav}}
+ {{ if eq $.Path $navPair.Path }}
+ <li><a href="{{$navPair.Path}}">{{$navPair.Title}}</a></li>
+ {{else}}
+ <li><a class="no-decorations" href="{{$navPair.Path}}">{{$navPair.Title}}</a></li>
+ {{end}}
+ {{end}}
+ </ul>
+ </nav>
+ </div>
{{ template "content" . }}
<footer>
<br />