🏗️ 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
+1 -1
View File
@@ -1,7 +1,7 @@
{{ if .Params.showAuthor | default (.Site.Params.article.showAuthor | default true) }}
<div class="flex items-center">
{{ with .Site.Author.image }}
<img class="w-24 h-24 !mt-0 !mb-0 mr-4 rounded-full" src="{{ . | absURL }}" />
<img class="w-24 h-24 !mt-0 !mb-0 mr-4 rounded-full" src="{{ . | relURL }}" />
{{ end }}
<div>
{{ with .Site.Author.name }}