🏗️ 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
@@ -3,7 +3,7 @@
<a
class="hover:underline hover:underline-primary-500 hover:underline-thickness-bold hover:underline-offset-small"
rel="me"
href="{{ .Site.BaseURL }}"
href="{{ "/" | relURL }}"
>{{ .Site.Title }}</a
>
</div>
@@ -13,7 +13,7 @@
<li class="mb-1 text-right sm:mb-0 sm:mr-7 sm:last:mr-0">
<a
class="hover:underline hover:underline-primary-500 hover:underline-thickness-bold hover:underline-offset-small"
href="{{ .URL | absURL }}"
href="{{ .URL }}"
title="{{ .Title }}"
>{{ .Name }}</a
>