|
|
|
@ -6,6 +6,22 @@
|
|
|
|
|
|
|
|
|
|
<div class="container"> |
|
|
|
|
{% for childpage in this.children %} |
|
|
|
|
|
|
|
|
|
{# Setup default settings for the overview #} |
|
|
|
|
|
|
|
|
|
{% if childpage.header_background_color %} |
|
|
|
|
{% set div_style = 'background-color:' + childpage.header_background_color + ';' %} |
|
|
|
|
{% else %} |
|
|
|
|
{% set div_style = 'background-color: #6FB0E5;' %} |
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
{% if childpage.header_text_color %} |
|
|
|
|
{% set div_classes = childpage.header_text_color %} |
|
|
|
|
{% else %} |
|
|
|
|
{% set div_classes = 'text-light' %} |
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% if loop.first %} |
|
|
|
|
<div class="row mb-3"> |
|
|
|
|
{% endif %} |
|
|
|
@ -16,8 +32,13 @@
|
|
|
|
|
<img class="card-img-top" src="{{ childpage.image }}" |
|
|
|
|
alt="{{ childpage.title }}"> |
|
|
|
|
{% else %} |
|
|
|
|
<img class="card-img-top" src="/u/image/cards/placeholder.jpg" |
|
|
|
|
alt="{{ childpage.title }}"> |
|
|
|
|
<div style="{{ div_style }} font-weight: bold; padding-left: |
|
|
|
|
12px; padding-right: 6px; text-transform: uppercase;" |
|
|
|
|
class="{{ div_classes }} display-4"> |
|
|
|
|
<br/> |
|
|
|
|
{{ childpage.title }}<sup style="font-weight: normal;">≠</sup><br/> |
|
|
|
|
<br/> |
|
|
|
|
</div> |
|
|
|
|
{% endif %} |
|
|
|
|
</a> |
|
|
|
|
<div class="card-body"> |
|
|
|
|