fix range
This commit is contained in:
parent
51ada6267b
commit
5a6e11ec80
@ -6,9 +6,9 @@
|
|||||||
<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_end }
|
{% 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 %}
|
<div class="datetime">{{ section.text.date.strftime("%d %B %Y") }} to {{ section.text.date_end.strftime("%d %B %Y") }}</div>
|
||||||
{% else }
|
{% else %}
|
||||||
{% if section.text.date %}
|
{% if section.text.date %}
|
||||||
<div class="datetime">{{ section.text.date.strftime("%d %B %Y") }}</div>{% endif %}
|
<div class="datetime">{{ section.text.date.strftime("%d %B %Y") }}</div>{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -6,9 +6,9 @@
|
|||||||
<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_end }
|
{% 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 %}
|
<div class="datetime">{{ section.text.date.strftime("%d %B %Y") }} to {{ section.text.date_end.strftime("%d %B %Y") }}</div>
|
||||||
{% else }
|
{% else %}
|
||||||
{% if section.text.date %}
|
{% if section.text.date %}
|
||||||
<div class="datetime">{{ section.text.date.strftime("%d %B %Y") }}</div>{% endif %}
|
<div class="datetime">{{ section.text.date.strftime("%d %B %Y") }}</div>{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user