mirror of
https://github.com/netz39/www.netz39.de.git
synced 2025-01-18 20:10:12 +01:00
update event template to prepend place and time to page content
This commit is contained in:
parent
480d49b700
commit
cb68bfb739
1 changed files with 8 additions and 1 deletions
|
@ -8,7 +8,8 @@ layout: default
|
||||||
<div class="feature-image-padding"></div>
|
<div class="feature-image-padding"></div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<h1 id="{{ page.title | cgi_escape }}" class="title">{{ page.title }}</h1>
|
<h1 id="{{ page.title | cgi_escape }}" class="title">{{ page.title }}</h1>
|
||||||
{% include blog/post_info.liquid author=page.author date=page.event_date %}
|
{% assign start_date = page.event.start | default: page.event_date %}
|
||||||
|
{% include blog/post_info.liquid author=page.author date=start_date %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
@ -16,6 +17,12 @@ layout: default
|
||||||
<section class="post-content">
|
<section class="post-content">
|
||||||
{% if page.bootstrap %}
|
{% if page.bootstrap %}
|
||||||
<div class="bootstrap-iso">
|
<div class="bootstrap-iso">
|
||||||
|
{% endif %}
|
||||||
|
{% if page.event.start %}
|
||||||
|
<p>
|
||||||
|
<strong>Wann: {{ page.event.start | date: "%H:%M" }}{% if page.event.end %} - {{ page.event.end | date: "%H:%M" }}{% endif %} Uhr</strong><br />
|
||||||
|
<strong>Wo: {{ page.event.location | default: "Netz39 e.V." }}</strong>
|
||||||
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ content }}
|
{{ content }}
|
||||||
{% if page.bootstrap %}
|
{% if page.bootstrap %}
|
||||||
|
|
Loading…
Reference in a new issue