summaryrefslogtreecommitdiffstats
path: root/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/index.html b/templates/index.html
index 037e423..a1af5e8 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -31,11 +31,11 @@
<body>
<header>
<nav>
- <span>{{ macros::nav_item(name=config.title, path="@/_index.md") }}</span>
+ <span>{{ macros::nav_item(name=config.title, url=get_url(path="@/_index.md",trailing_slash=true)) }}</span>
<ul>
- <li>{{ macros::nav_item(name="About", path="@/about.md") }}</li>
- <li>{{ macros::nav_item(name="Code", path="@/code/_index.md") }}</li>
- <li>{{ macros::nav_item(name="Posts", path="@/posts/_index.md") }}</li>
+ <li>{{ macros::nav_item(name="About", url=get_url(path="@/about.md",trailing_slash=true)) }}</li>
+ <li>{{ macros::nav_item(name="Git", url="https://git.tobyvin.dev") }}</li>
+ <li>{{ macros::nav_item(name="Posts", url=get_url(path="@/posts/_index.md",trailing_slash=true)) }}</li>
</ul>
</nav>
</header>