aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/meta.html
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-05-04 02:27:15 -0400
committertdro <tdro@noreply.example.com>2022-05-04 02:27:15 -0400
commit30d44aac7a8539d9706df009cb3667d39ed7f350 (patch)
tree90fb63f92a3998c6a2b3ce8f18d7b2f286e9b9dc /themes/default/layouts/partials/meta.html
parente4d1b4ae07b939730b82635b9cea4fab4005237e (diff)
downloadcanory-30d44aac7a8539d9706df009cb3667d39ed7f350.tar.gz
canory-30d44aac7a8539d9706df009cb3667d39ed7f350.tar.bz2
canory-30d44aac7a8539d9706df009cb3667d39ed7f350.zip
themes/default/layouts: Allow sub directories
Set base URL on all links.
Diffstat (limited to 'themes/default/layouts/partials/meta.html')
-rw-r--r--themes/default/layouts/partials/meta.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/layouts/partials/meta.html b/themes/default/layouts/partials/meta.html
index 6e10754..61f9f6a 100644
--- a/themes/default/layouts/partials/meta.html
+++ b/themes/default/layouts/partials/meta.html
@@ -44,7 +44,7 @@
<span>unlisted</span></unlisted-entry>
{{ end }}
- &middot; <a href="/{{ $author.user }}/messages/{{ path.Base .Permalink }}#{{ partial "card-id.html" . }}">
+ &middot; <a href="{{ .Site.BaseURL }}/{{ $author.user }}/messages/{{ path.Base .Permalink }}#{{ partial "card-id.html" . }}">
<time
datetime="{{ .Date | time.Format "2006-01-02T15:04:05Z" }}"
title="{{ .Date | time.Format "Monday, January 2 2006 at 15:04:05 MST" }}">
@@ -59,6 +59,6 @@
&middot; <cite><a title="#{{ partial "card-id.html" . }}" href="#{{ partial "card-id.html" . }}">#id</a></cite>
{{ if not .ExpiryDate }}
- &middot; <cite><a title="/raw/{{ $source }}" href="/raw/{{ $source }}">raw</a></cite>
+ &middot; <cite><a title="{{ .Site.BaseURL }}/raw/{{ $source }}" href="{{ .Site.BaseURL }}/raw/{{ $source }}">raw</a></cite>
{{- end -}}
</section>