Last active
August 27, 2018 23:32
-
-
Save imcbride/3045050ba0bffc893d27ac8f3684fe5c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% set timestamp = node.field_event_time.value|date('U') %} | |
<article{{ attributes }}> | |
{% if label %} | |
<header> | |
<h1>{{ label }}</h1> | |
<h2>{{ timestamp|format_date('museum_date') }} | |
</header> | |
{% endif %} | |
<section class="contents"> | |
<p> | |
{{ content.field_event_type }}<br /> | |
<span class="label">Time</span>: {{ timestamp|format_date('museum_time') }} | |
<span class="label">Location</span>: {{ content.field_event_place }}<br /> | |
</p> | |
{{ content }} | |
</section> | |
</article> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment