diff options
author | tdro <tdro@noreply.example.com> | 2022-05-04 02:51:43 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-05-04 02:51:43 -0400 |
commit | 631f9369b24ee4858b258126ba9ca6a263dd2cae (patch) | |
tree | b0b3ab6f3bc5cec04495f94ff28beeba100f20a5 /themes/default/layouts/partials/author-card.html | |
parent | 30d44aac7a8539d9706df009cb3667d39ed7f350 (diff) | |
download | canory-631f9369b24ee4858b258126ba9ca6a263dd2cae.tar.gz canory-631f9369b24ee4858b258126ba9ca6a263dd2cae.tar.bz2 canory-631f9369b24ee4858b258126ba9ca6a263dd2cae.zip |
themes/default/layouts: Fix remaining URLs missing base
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 d25abc6..f534a45 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="{{ .Site.BaseURL }}/{{ .Data.user }}#"> + <a title="{{ .Data.name }}" href="{{ "" | absURL }}/{{ .Data.user }}"> <picture> - <img alt="{{ .Data.name }}" src="{{ .Site.BaseURL }}/{{ .Data.user }}/media/profile/picture.png" /> + <img alt="{{ .Data.name }}" src="{{ "" | absURL }}/{{ .Data.user }}/media/profile/picture.png" /> </picture> </a> </figure> </micro-thumbnail> <micro-header> <h1>{{ .Data.name }}</h1> - <h2><a title="" href="{{ .Site.BaseURL }}/{{ .Data.user }}">@{{ .Data.user }}</a></h2> + <h2><a title="" href="{{ "" | absURL }}/{{ .Data.user }}">@{{ .Data.user }}</a></h2> </micro-header> - <a title="RSS" href="{{ .Site.BaseURL }}/{{ .Data.user }}/rss.xml"> + <a title="RSS" href="{{ "" | absURL }}/{{ .Data.user }}/rss.xml"> {{ safeHTML (readFile "static/icons/feather/rss.svg") }} <span>Follow</span> </a> |