mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-15 03:04:28 +00:00
More image caching
This commit is contained in:
parent
13c63e473a
commit
6d3ca7fcc5
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
{% if not follower.icon %}
|
{% if not follower.icon %}
|
||||||
<img class="actor-icon" src="/static/nopic.png" style="width:{{ size }}px">
|
<img class="actor-icon" src="/static/nopic.png" style="width:{{ size }}px">
|
||||||
{% else %}
|
{% else %}
|
||||||
<img class="actor-icon" src="{{ follower.icon.url }}" style="width:{{ size }}px;">{% endif %}
|
<img class="actor-icon" src="{{ follower.icon.url | get_actor_icon_url(size) }}" style="width:{{ size }}px;">{% endif %}
|
||||||
</span>
|
</span>
|
||||||
<div class="actor-inline">
|
<div class="actor-inline">
|
||||||
<div style="font-weight:bold">{{ follower.name or follower.preferredUsername }}</div>
|
<div style="font-weight:bold">{{ follower.name or follower.preferredUsername }}</div>
|
||||||
|
|
Loading…
Reference in a new issue