18 lines
500 B
HTML
18 lines
500 B
HTML
{% extends "base.html" %}
|
|
{% load wagtailcore_tags %}
|
|
|
|
{% block body_class %}template-{{ self.get_verbose_name|slugify }}{% endblock %}
|
|
|
|
{% block content %}
|
|
{% for entry in banner_articles %}
|
|
<div class="item">
|
|
<image style="background-image:url({{ entry.feed_image.src }})" />
|
|
<div class="carousel-caption">
|
|
<h3>{{ entry.trans_title }}</h3>
|
|
<p>{{ entry.trans_intro|richtext }}</p>
|
|
</div>
|
|
</div>
|
|
{% empty %}
|
|
No articles found
|
|
{% endfor %}
|
|
{% endblock %}
|