fix: 🖼️ fix image link spacing issue
This commit is contained in:
parent
60ac69e548
commit
9244abe921
1 changed files with 5 additions and 3 deletions
|
|
@ -1,8 +1,10 @@
|
||||||
<article>
|
<article>
|
||||||
{% if post.image %}
|
{% if post.image %}
|
||||||
<a href="{{ post.image.url }}" target="_blank" rel="noreferrer noopener" class="image">
|
<div class="image">
|
||||||
<img src="{{ post.image.url }}">
|
<a href="{{ post.image.url }}" target="_blank" rel="noreferrer noopener" class="image">
|
||||||
</a>
|
<img src="{{ post.image.url }}" alt="image of {{ post.food }} by @{{ post.created_by.username }}">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="emoji">{{ post.emoji }}</div>
|
<div class="emoji">{{ post.emoji }}</div>
|
||||||
<div class="body">
|
<div class="body">
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue