diff options
| author | a73x <[email protected]> | 2024-12-01 13:27:00 +0000 |
|---|---|---|
| committer | a73x <[email protected]> | 2024-12-01 13:27:00 +0000 |
| commit | 8358c0765be412b1616aa978667f5d582e9e4901 (patch) | |
| tree | acb2e9efb40bb4b92f45020f96b269c89a0827ce /templates/layouts | |
| parent | 013d56b78002dec56d8426b24b3a31107f22c7a7 (diff) | |
feat(css): centered content
Diffstat (limited to 'templates/layouts')
| -rw-r--r-- | templates/layouts/_default.html | 41 |
1 files changed, 22 insertions, 19 deletions
diff --git a/templates/layouts/_default.html b/templates/layouts/_default.html index 5b9521c..4ea8888 100644 --- a/templates/layouts/_default.html +++ b/templates/layouts/_default.html @@ -14,25 +14,28 @@ </head> <body> - <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> - {{ template "content" . }} - <footer> - <br /> - <hr /><br /> - <p>see something you disagree with? email: <a href="mailto:[email protected]">[email protected]</a></p> - </footer> + <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> + {{ template "content" . }} + <footer> + <br /> + <hr /> + <br /> + <p>see something you disagree with? email: <a href="mailto:[email protected]">[email protected]</a></p> + </footer> + </main> </body> </html> |
