aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/profile-picture.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-picture.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-picture.html')
-rw-r--r--themes/default/layouts/partials/profile-picture.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/themes/default/layouts/partials/profile-picture.html b/themes/default/layouts/partials/profile-picture.html
index fba35f7..1c6757e 100644
--- a/themes/default/layouts/partials/profile-picture.html
+++ b/themes/default/layouts/partials/profile-picture.html
@@ -1,9 +1,9 @@
<figure>
<picture>
- <source srcset="/{{ partial "author-media-path.html" . }}/profile/picture.png" type="image/png" />
- <source srcset="/{{ partial "author-media-path.html" . }}/profile/picture.jpg" type="image/jpeg" />
- <source srcset="/{{ partial "author-media-path.html" . }}/profile/picture.webp" type="image/webp" />
- <img alt="{{ .Title }}" src="/{{ partial "author-media-path.html" . }}/profile/picture.png" />
+ <source srcset="{{ .Site.BaseURL }}/{{ partial "author-media-path.html" . }}/profile/picture.png" type="image/png" />
+ <source srcset="{{ .Site.BaseURL }}/{{ partial "author-media-path.html" . }}/profile/picture.jpg" type="image/jpeg" />
+ <source srcset="{{ .Site.BaseURL }}/{{ partial "author-media-path.html" . }}/profile/picture.webp" type="image/webp" />
+ <img alt="{{ .Title }}" src="{{ .Site.BaseURL }}/{{ partial "author-media-path.html" . }}/profile/picture.png" />
</picture>
{{ partial "context-profile.html" . }}
</figure>