1
0
mirror of https://github.com/ipdb/website.git synced 2024-11-25 18:58:41 +01:00

construct imprint contact block from more data

This commit is contained in:
Matthias Kretschmann 2017-11-07 13:11:32 +01:00
parent 577a49d1fa
commit 5dbbd7b6b4
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 10 additions and 1 deletions

View File

@ -2,6 +2,15 @@
<div class="company"> <div class="company">
<h4 class="company__name">{{ contact.company }}</h4> <h4 class="company__name">{{ contact.company }}</h4>
{% if include.imprint %}
<p>{{ contact.registration}}</p>
<h5>Represented by</h5>
<p>
{{ site.data.board[0].position }}: {{ site.data.board[0].name }}<br />
{{ site.data.board[1].position }}: {{ site.data.board[1].name }}<br />
{{ site.data.board[2].position }}: {{ site.data.board[2].name }}
</p>
{% endif %}
<p> <p>
<a href="mailto:{{ contact.email }}">{{ contact.email }}</a> <a href="mailto:{{ contact.email }}">{{ contact.email }}</a>
</p> </p>

View File

@ -6,4 +6,4 @@ title: Imprint
narrow: true narrow: true
--- ---
{% include contact.html %} {% include contact.html imprint="true" %}