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/profile.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/profile.html')
-rw-r--r-- | themes/default/layouts/partials/profile.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/layouts/partials/profile.html b/themes/default/layouts/partials/profile.html index b20159f..417af56 100644 --- a/themes/default/layouts/partials/profile.html +++ b/themes/default/layouts/partials/profile.html @@ -4,13 +4,13 @@ <micro-header-image> <picture> - <img alt="{{ .Title }}" src="/{{ partial "author-media-path.html" . }}/profile/header.jpg" /> + <img alt="{{ .Title }}" src="{{ .Site.BaseURL }}/{{ partial "author-media-path.html" . }}/profile/header.jpg" /> </picture> </micro-header-image> <micro-header-picture> <picture> - <img src="/{{ partial "author-media-path.html" . }}/profile/picture.png"/> + <img src="{{ .Site.BaseURL }}/{{ partial "author-media-path.html" . }}/profile/picture.png"/> </picture> </micro-header-picture> |