2016-02-21 22:09:59 +01:00
|
|
|
{% set image = Image(section.image) %}
|
|
|
|
{{ image.copy() }}
|
|
|
|
<div class="parallax-container z-depth-1 valign-wrapper">
|
2016-02-26 19:52:14 +01:00
|
|
|
<div class="parallax"><img src="{{ image }}"></div>
|
2016-02-21 22:09:59 +01:00
|
|
|
{% if section.text %}
|
|
|
|
<div class="parallax-tittle white-text">
|
2016-03-30 11:12:30 +02:00
|
|
|
<h1>{{ section.text.title }}</h1>
|
|
|
|
<h2>{{ section.text.sub_title }}</h2>
|
2016-03-30 11:23:07 +02:00
|
|
|
{% if section.text.date_end %}
|
|
|
|
<div class="datetime">{{ section.text.date.strftime("%d %B %Y") }} to {{ section.text.date_end.strftime("%d %B %Y") }}</div>
|
|
|
|
{% else %}
|
2016-03-30 11:12:30 +02:00
|
|
|
{% if section.text.date %}
|
|
|
|
<div class="datetime">{{ section.text.date.strftime("%d %B %Y") }}</div>{% endif %}
|
|
|
|
{% endif %}
|
2016-02-21 22:09:59 +01:00
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|