magcms/prosopopee/templates/sections/full-picture.html
Adrien Beudin d3eea46393 Revert "move default theme in themes folder"
This reverts commit bf986ded7da83d4183a57c09e3c603abdaa94d62.
2016-02-22 16:32:44 +01:00

14 lines
575 B
HTML

{% set image = Image(section.image) %}
{{ image.copy() }}
<section class="full-picture" style="background: transparent url('{{ image }}') no-repeat scroll center top / cover;">
{% if section.text %}
<div class="picture-text">
<div class="picture-text-column">
<h1>{{ section.text.title }}</h1>
<h2>{{ section.text.sub_title }}</h2>
{% if section.text.date %}<div class="datetime">{{ section.text.date.strftime("%d %B %Y") }}</div>{% endif %}
</div>
</div>
{% endif %}
</section>