0.0.34 show slides
This commit is contained in:
@@ -1,3 +1,24 @@
|
||||
{% if page.get_slides %}
|
||||
<div>
|
||||
{% for slide in page.get_slides %}
|
||||
<div>
|
||||
<img src="{{ MEDIA_URL }}{{ slide.picture }}" alt="{{ slide.name }}" />
|
||||
|
||||
{% if slide.name or slide.description %}
|
||||
<div>
|
||||
{% if slide.name %}
|
||||
<div>{{ slide.name }}</div>
|
||||
{% endif %}
|
||||
{% if slide.description %}
|
||||
<div>{{ slide.description|linebreaksbr }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% include 'blocks/dynamic/b_sections_buttons.html' %}
|
||||
|
||||
<div class="cut-width">
|
||||
|
||||
Reference in New Issue
Block a user