ungleich-staticcms/templates/summary-page.html

33 lines
800 B
HTML
Raw Normal View History

2020-01-04 13:03:03 +00:00
{% extends "layout-2020.html" %}
{% block title %}{{ this.title }}{% endblock %}
{% block subtitle %}{{ this.subtitle }}{% endblock %}
{% block content %}
<div class="container">
2020-01-04 13:08:07 +00:00
{% for childpage in this.children %}
2020-01-04 13:03:03 +00:00
{% if loop.first %}
<div class="row mb-3">
{% endif %}
<div class="col-md-4 mb-3">
<div class="card">
<div class="card-body">
2020-01-04 13:08:07 +00:00
<h5 class="card-title">{{ childpage.title }}</h5>
<p class="card-text">{{ childpage.subtitle }}</p>
<a class="btn btn-primary" href="{{ childpage|url }}">Check it out</a>
2020-01-04 13:03:03 +00:00
</div>
</div>
</div>
{% if loop.index is divisibleby 3 %}
</div>
<div class="row mb-3">
{% endif %}
{% if loop.last %}
</div>
{% endif %}
{% endfor %}
</div>
</div>
</div>
{% endblock %}