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

@@ -5,7 +5,7 @@
{# ── Hero ── #}
<article class="entry" style="margin-bottom:1.5rem">
{% if let Some(poster) = movie.poster_path() %}
<div class="poster"><img src="/posters/{{ poster.value() }}" alt=""></div>
<div class="poster"><img src="{{ poster.value()|poster_src }}" alt=""></div>
{% endif %}
<div class="entry-body">
<div class="entry-title">