[news feed] Fixed multiple images layout
Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
parent
dd22d02e61
commit
bc4a4e3609
1 changed files with 4 additions and 0 deletions
|
@ -37,9 +37,13 @@
|
|||
{% if page.content %}
|
||||
<div class="news_content">{{ page.content | safe }}</div>
|
||||
{% endif %}
|
||||
|
||||
<span class="news_images">
|
||||
{% for photo in page.assets %}
|
||||
<img class="news_image" src="{{ page.path }}/{{ photo | split(pat='/') | last }}" />
|
||||
{% endfor %}
|
||||
</span>
|
||||
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
|
Loading…
Add table
Reference in a new issue