diff options
author | tdro <tdro@noreply.example.com> | 2022-05-04 02:27:15 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-05-04 02:27:15 -0400 |
commit | 30d44aac7a8539d9706df009cb3667d39ed7f350 (patch) | |
tree | 90fb63f92a3998c6a2b3ce8f18d7b2f286e9b9dc /themes/default/layouts/partials/meta.html | |
parent | e4d1b4ae07b939730b82635b9cea4fab4005237e (diff) | |
download | canory-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.html | 4 |
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 }} - · <a href="/{{ $author.user }}/messages/{{ path.Base .Permalink }}#{{ partial "card-id.html" . }}"> + · <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 @@ · <cite><a title="#{{ partial "card-id.html" . }}" href="#{{ partial "card-id.html" . }}">#id</a></cite> {{ if not .ExpiryDate }} - · <cite><a title="/raw/{{ $source }}" href="/raw/{{ $source }}">raw</a></cite> + · <cite><a title="{{ .Site.BaseURL }}/raw/{{ $source }}" href="{{ .Site.BaseURL }}/raw/{{ $source }}">raw</a></cite> {{- end -}} </section> |