Bust cache of hcard images

This commit is contained in:
welpo 2025-05-10 15:49:01 +02:00
parent 85be5d789b
commit 96087352d6
No known key found for this signature in database
GPG key ID: A2F978CF4EC1F5A6
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@
{%- if hcard.avatar -%} {%- if hcard.avatar -%}
<img <img
class="u-photo" class="u-photo"
src="{{ get_url(path=hcard.avatar) }}" src="{{ get_url(path=hcard.avatar, cachebust=true) }}"
width="200" width="200"
height="200" height="200"
alt="{{ full_name }}" alt="{{ full_name }}"

View file

@ -18,7 +18,7 @@
<span class="hidden p-author h-card"> <span class="hidden p-author h-card">
<a rel="author" href="{{ homepage }}" class="u-url {{ icon_attr }}" title="{{ full_name }}"> <a rel="author" href="{{ homepage }}" class="u-url {{ icon_attr }}" title="{{ full_name }}">
{%- if hcard.avatar -%} {%- if hcard.avatar -%}
<img class="u-photo" src="{{ get_url(path=hcard.avatar) }}" alt="{{ full_name }}" /> <img class="u-photo" src="{{ get_url(path=hcard.avatar, cachebust=true) }}" alt="{{ full_name }}" />
{%- else -%} {%- else -%}
{{ full_name }} {{ full_name }}
{%- endif -%} {%- endif -%}