diff options
author | tdro <tdro@noreply.example.com> | 2022-06-01 19:16:58 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-06-01 19:16:58 -0400 |
commit | 473a08150b875112c522522e21fb542d3ec26736 (patch) | |
tree | ec1d5f7c9e7ce80d5d2073490ff6a35f5351b6a1 /themes/default/layouts/partials/context-profile.html | |
parent | dff47d17bb0ed4479bfb187b19ba1c8b1fa61226 (diff) | |
download | canory-473a08150b875112c522522e21fb542d3ec26736.tar.gz canory-473a08150b875112c522522e21fb542d3ec26736.tar.bz2 canory-473a08150b875112c522522e21fb542d3ec26736.zip |
themes/default/layouts: Handle image search errors
Namespace 404 image processing.
Diffstat (limited to 'themes/default/layouts/partials/context-profile.html')
-rw-r--r-- | themes/default/layouts/partials/context-profile.html | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/themes/default/layouts/partials/context-profile.html b/themes/default/layouts/partials/context-profile.html index d96b641..3647ba2 100644 --- a/themes/default/layouts/partials/context-profile.html +++ b/themes/default/layouts/partials/context-profile.html @@ -11,19 +11,7 @@ <a title="{{ $author.name }}" href="{{ .Site.BaseURL }}/{{ $author.user }}"> {{- end -}} <picture> - {{- with .Params.feed -}} - <img - width="64" - height="64" - alt="{{ .name }}" - src="{{ .image }}" - /> - {{ else }} - <img - alt="{{ $author.name }}" - src="{{ .Site.BaseURL }}/{{ $author.user }}/media/profile/picture.png" - /> - {{ end }} + {{ partial "author-picture" . }} </picture> </a> </figure> |