fix: handle absolute poster URLs from federated instances in templates

This commit is contained in:
2026-05-13 23:32:08 +02:00
parent c420826474
commit 25cd6c9294
5 changed files with 17 additions and 5 deletions

View File

@@ -26,7 +26,7 @@
<article class="entry">
{% if let Some(poster) = entry.movie().poster_path() %}
<div class="poster">
<img src="/posters/{{ poster.value() }}" alt="">
<img src="{{ poster.value()|poster_src }}" alt="">
</div>
{% endif %}
<div class="entry-body">