public-health-ch/publichealth/home/templates/infos.html

22 lines
598 B
HTML
Raw Normal View History

2017-03-08 21:54:15 +00:00
{% load wagtailcore_tags wagtailimages_tags %}
<section id="three" class="wrapper align-center">
<div class="container">
<div class="row">
{% for block in page.trans_infos %}
<article class="col-md-4">
<div class="image">
{% image block.value.photo fill-300x300 %}
</div>
<header>
<h3>{{ block.value.title }}</h3>
</header>
{{ block.value.summary|richtext }}
<footer>
<a href="{{ block.value.url }}" class="btn btn-default">{{ block.value.action }}</a>
</footer>
</article>
{% endfor %}
</div>
</div>
</section>