fix: handle absolute poster URLs from federated instances in templates
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user