summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorNantha Sorubakanthan <nantha@mielota.com>2025-11-17 18:20:08 +0100
committerNantha Sorubakanthan <nantha@mielota.com>2025-11-17 18:20:08 +0100
commit481b47e0ae99cb4ac4ab6d192e84da1878dd6625 (patch)
tree0c0f4bdac741e78fb1bda33b91517823da56db23 /layouts
parent573d3358b3fb0ddfba64c601becaaf83de6f1b31 (diff)
add slash at the end of links
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/list.html2
-rw-r--r--layouts/partials/nav.html6
2 files changed, 4 insertions, 4 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index a3eb9d3..c8773b6 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -4,7 +4,7 @@
<div class="columns">
<ul>
{{ range .Pages }}
- <li>{{ .Date.Format "02/01/06" }} - <a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
+ <li>{{ .Date.Format "02/01/06" }} - <a href="{{ .RelPermalink }}/">{{ .Title }}</a></li>
{{ end }}
</ul>
</div>
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html
index 5c82a86..3e13143 100644
--- a/layouts/partials/nav.html
+++ b/layouts/partials/nav.html
@@ -1,5 +1,5 @@
<nav style="display: flex;justify-content: space-around;">
- <a href="/antiporn">banporn</a>
- <a href="https://codeberg.org/mielota">git</a>
- <a href="/stuff">stuff</a>
+ <a href="/antiporn/">banporn</a>
+ <a href="https://codeberg.org/mielota/">git</a>
+ <a href="/stuff/">stuff</a>
</nav>