aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/profile-tabs.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/profile-tabs.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/profile-tabs.html')
-rw-r--r--themes/default/layouts/partials/profile-tabs.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/themes/default/layouts/partials/profile-tabs.html b/themes/default/layouts/partials/profile-tabs.html
index 94b80ff..66b32c3 100644
--- a/themes/default/layouts/partials/profile-tabs.html
+++ b/themes/default/layouts/partials/profile-tabs.html
@@ -1,8 +1,8 @@
{{ $author := index .Site.Data.authors ((or .Params.author .Site.Author.default.user) | default "default") }}
<tab-list>
- <a href="/{{ $author.user }}">Messages</a>
- <a href="/{{ $author.user }}/feeds/">Feeds</a>
- <a href="/{{ $author.user }}/media/">Media</a>
- <a href="/{{ $author.user }}/likes/">Likes</a>
+ <a href="{{ .Site.BaseURL }}/{{ $author.user }}">Messages</a>
+ <a href="{{ .Site.BaseURL }}/{{ $author.user }}/feeds/">Feeds</a>
+ <a href="{{ .Site.BaseURL }}/{{ $author.user }}/media/">Media</a>
+ <a href="{{ .Site.BaseURL }}/{{ $author.user }}/likes/">Likes</a>
</tab-list>