{% include top.html %} {% assign team_entry = site.data.hifis_team | where: "id", page.data %} {% assign person = team_entry[0] %} <body> {% include header.html %} <main> {% comment %} The title image on this page has been re-purposed to show a digest of The most important information of the person in question. {% endcomment %} {% capture title-content %} {% include team_card/image.html person=person %} <div class="subject"> {% include team_card/title.html person=person %} {% include team_card/name.html person=person %} {% include team_card/position.html person=person %} {% include team_card/team_member_associate.html person=person %} {% if person.contact %} {% include team_card/contacts_platforms.html contact=person.contact %} {% include team_card/contacts_messengers.html contact=person.contact %} {% endif %} </div> <div class="contact"> {% include team_card/contacts.html person=person %} {% include team_card/organization_long.html location=person.location %} </div> {% endcapture %} {% include title_image.html content=title-content%} <section> {% comment %} When content and contacts are empty, do not include the article since it would only be pointless white space on gray background. Strip the newline of the content for testing since it should always contain a trailing newline and thus never be empty. {% endcomment %} {% assign stripped_content = page.content | strip_newlines %} {% unless stripped_content == "" %} <article> {{ page.content }} </article> {% endunless %} </section> </main> {% include footer.html %} </body> </html>