diff options
| author | alex emery <[email protected]> | 2024-11-03 15:33:28 +0000 |
|---|---|---|
| committer | alex emery <[email protected]> | 2024-11-03 15:33:28 +0000 |
| commit | 508527f52de524a4fd174d386808e314b4138b11 (patch) | |
| tree | 2593af258b67decbf0207e2547b7ea55f6b051d7 /templates/layouts | |
| parent | 22bfae8f9637633d5608caad3ce56b64c6819505 (diff) | |
feat: static builds
Diffstat (limited to 'templates/layouts')
| -rw-r--r-- | templates/layouts/_default.html | 11 |
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" . }} |
