summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/_default/baseof.html7
-rw-r--r--layouts/partials/nav.html4
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>