diff options
Diffstat (limited to 'themes/default/layouts/partials/profile-picture.html')
-rw-r--r-- | themes/default/layouts/partials/profile-picture.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/themes/default/layouts/partials/profile-picture.html b/themes/default/layouts/partials/profile-picture.html new file mode 100644 index 0000000..fba35f7 --- /dev/null +++ b/themes/default/layouts/partials/profile-picture.html @@ -0,0 +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" /> + </picture> + {{ partial "context-profile.html" . }} +</figure> |