Add range of date in full-picture
This commit is contained in:
parent
749d7d7693
commit
51ada6267b
@ -6,7 +6,12 @@
|
|||||||
<div class="picture-text-column">
|
<div class="picture-text-column">
|
||||||
<h1>{{ section.text.title }}</h1>
|
<h1>{{ section.text.title }}</h1>
|
||||||
<h2>{{ section.text.sub_title }}</h2>
|
<h2>{{ section.text.sub_title }}</h2>
|
||||||
{% if section.text.date %}<div class="datetime">{{ section.text.date.strftime("%d %B %Y") }}</div>{% endif %}
|
{% 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>{% endif %}
|
||||||
|
{% else }
|
||||||
|
{% if section.text.date %}
|
||||||
|
<div class="datetime">{{ section.text.date.strftime("%d %B %Y") }}</div>{% endif %}
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -6,7 +6,12 @@
|
|||||||
<div class="parallax-tittle white-text">
|
<div class="parallax-tittle white-text">
|
||||||
<h1>{{ section.text.title }}</h1>
|
<h1>{{ section.text.title }}</h1>
|
||||||
<h2>{{ section.text.sub_title }}</h2>
|
<h2>{{ section.text.sub_title }}</h2>
|
||||||
{% if section.text.date %}<div class="datetime">{{ section.text.date.strftime("%d %B %Y") }}</div>{% endif %}
|
{% 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>{% endif %}
|
||||||
|
{% else }
|
||||||
|
{% if section.text.date %}
|
||||||
|
<div class="datetime">{{ section.text.date.strftime("%d %B %Y") }}</div>{% endif %}
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user