diff options
| author | Nantha Sorubakanthan <nantha@mielota.com> | 2025-10-29 23:19:19 +0100 |
|---|---|---|
| committer | Nantha Sorubakanthan <nantha@mielota.com> | 2025-10-29 23:19:19 +0100 |
| commit | cba1ce363ec98b5c5377314e144adc57950a85c9 (patch) | |
| tree | e2523fe46a93e1ee96c61905b8bfc491571e6ee8 | |
| parent | d8670a9d9723f494f3b38b6159dae297aa4b2295 (diff) | |
update nav
| -rw-r--r-- | layouts/_default/baseof.html | 7 | ||||
| -rw-r--r-- | layouts/partials/nav.html | 4 |
2 files changed, 3 insertions, 8 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index a031c88..282c9bc 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -31,12 +31,7 @@ <hr> {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }} {{ if .IsHome }} - <nav style="display: flex;justify-content: space-around;"> - <a href="/stuff">stuff</a> - <a href="/contact">contact</a> - <a href="https://codeberg.org/mielota">git</a> - <a href="https://dns.mielota.com">dns</a> - </nav> + {{ partial "nav.html" }} {{ else }} <div style="display: flex;justify-content: space-between;align-items: center;"> <p><a href="{{ path.Dir .Path }}">Return</a></p> diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index f3aeb0a..0bba423 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -1,6 +1,6 @@ <nav style="display: flex;justify-content: space-around;"> - <a href="/stuff">stuff</a> + <a href="https://dns.mielota.com">dns</a> <a href="/contact">contact</a> <a href="https://codeberg.org/mielota">git</a> - <a href="https://dns.mielota.com">dns</a> + <a href="/stuff">stuff</a> </nav> |
