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/author-card.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/author-card.html')
-rw-r--r-- | themes/default/layouts/partials/author-card.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/themes/default/layouts/partials/author-card.html b/themes/default/layouts/partials/author-card.html index bbb79b0..d25abc6 100644 --- a/themes/default/layouts/partials/author-card.html +++ b/themes/default/layouts/partials/author-card.html @@ -3,18 +3,18 @@ <micro-summary> <micro-thumbnail> <figure> - <a title="{{ .Data.name }}" href="/{{ .Data.user }}#"> + <a title="{{ .Data.name }}" href="{{ .Site.BaseURL }}/{{ .Data.user }}#"> <picture> - <img alt="{{ .Data.name }}" src="/{{ .Data.user }}/media/profile/picture.png" /> + <img alt="{{ .Data.name }}" src="{{ .Site.BaseURL }}/{{ .Data.user }}/media/profile/picture.png" /> </picture> </a> </figure> </micro-thumbnail> <micro-header> <h1>{{ .Data.name }}</h1> - <h2><a title="" href="/{{ .Data.user }}">@{{ .Data.user }}</a></h2> + <h2><a title="" href="{{ .Site.BaseURL }}/{{ .Data.user }}">@{{ .Data.user }}</a></h2> </micro-header> - <a title="RSS" href="/{{ .Data.user }}/rss.xml"> + <a title="RSS" href="{{ .Site.BaseURL }}/{{ .Data.user }}/rss.xml"> {{ safeHTML (readFile "static/icons/feather/rss.svg") }} <span>Follow</span> </a> |