Skip to content

Commit

Permalink
Update movies.html
Browse files Browse the repository at this point in the history
  • Loading branch information
roicort committed Jan 15, 2024
1 parent a60828c commit ebfb536
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions web/movies.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,19 @@
<div class="cover">
<a href="{{ post.url | prepend: site.baseurl }}" {%if post.featured %}class="new-post"{% endif %}>
{% if post.optimized_image %}
<img src="/assets/img/placeholder.png" width="100%" data-url="{{ post.optimized_image }}" class="preload">
<img src="{{site.baseurl}}/assets/img/placeholder.png" width="100%" data-url="{{ post.optimized_image | prepend: site.baseurl}}" class="preload">
<noscript>
<img src="{{ post.optimized_image }}" width="100%">
<img src="{{ post.optimized_image | prepend: site.baseurl }}" width="100%">
</noscript>
{% elsif post.image %}
<img src="/assets/img/placeholder.png" width="100%" data-url="{{ post.image }}" class="preload">
<img src="{{site.baseurl}}/assets/img/placeholder.png" width="100%" data-url="{{ post.image | prepend: site.baseurl }}" class="preload">
<noscript>
<img src="{{ post.image }}" width="100%">
<img src="{{ post.image | prepend: site.baseurl}}" width="100%">
</noscript>
{% else %}
<img src="/assets/img/placeholder.png" width="100%" data-url="/assets/img/off.gif" class="preload">
<img src="{{site.baseurl}}/assets/img/placeholder.png" width="100%" data-url="/assets/img/off.gif" class="preload">
<noscript>
<img src="/assets/img/off.jpg" width="100%">
<img src="{{site.baseurl}}/assets/img/off.jpg" width="100%">
</noscript>
{% endif %}
</a>
Expand Down

0 comments on commit ebfb536

Please sign in to comment.