🏗️ Change URLs to be relative instead of absolute

This commit is contained in:
James Panther
2021-08-26 09:44:41 +10:00
parent 1a69b5fd39
commit f6dceb6233
13 changed files with 23 additions and 23 deletions
+2 -2
View File
@@ -5,7 +5,7 @@
<div class="flex justify-between pt-3">
<span>
{{ if .NextInSection }}
<a class="flex" href="{{ .NextInSection.Permalink }}">
<a class="flex" href="{{ .NextInSection.RelPermalink }}">
<span class="mr-3 article-pagination-direction">&larr;</span>
<span class="flex flex-col">
<span class="article-pagination-title">{{ .NextInSection.Title }}</span>
@@ -20,7 +20,7 @@
</span>
<span>
{{ if .PrevInSection }}
<a class="flex text-right" href="{{ .PrevInSection.Permalink }}">
<a class="flex text-right" href="{{ .PrevInSection.RelPermalink }}">
<span class="flex flex-col">
<span class="article-pagination-title">{{ .PrevInSection.Title }}</span>
<span class="-mt-1 text-xs text-neutral-400 dark:text-neutral-500">