Skip to content

Commit

Permalink
♻️ Remove absolute url
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielePicco committed Feb 20, 2024
1 parent 21d9f0b commit 875532b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ <h2 class="h4 font-weight-bold">
{% if second_post.image %}
<div class="col-md-4">
<a href="{{site.baseurl}}{{second_post.url}}">
<img class="w-100" src="{% if second_post.image contains "://" %}{{ second_post.image }}{% else %}{{ second_post.image | absolute_url }}{% endif %}" alt="{{ second_post.title }}">
<img class="w-100" src="{% if second_post.image contains "://" %}{{ second_post.image }}{% else %}{{ second_post.image }}{% endif %}" alt="{{ second_post.title }}">
</a>
</div>
{% endif %}
Expand Down

0 comments on commit 875532b

Please sign in to comment.