This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
oliverdavies.uk-old-sculpin/source/_layouts/talk.html.twig

66 lines
1.9 KiB
Twig
Raw Normal View History

2015-09-09 07:02:35 +00:00
{% extends 'default.html.twig' %}
{% block content_wrapper %}
<main class="col-md-9">
2016-03-27 18:17:23 +00:00
<h1 class="page-title">{{ page.title }}</h1>
2015-09-09 07:02:35 +00:00
2015-12-30 23:53:01 +00:00
{% if page.blocks.abstract %}
2016-03-27 18:17:23 +00:00
<div class="abstract">
<h2 class="abstract__title">Abstract</h2>
2015-09-09 07:02:35 +00:00
2016-03-27 18:17:23 +00:00
<div class="abstract__content">
{{ page.blocks.abstract|raw }}
</div>
</div>
2015-12-30 23:53:01 +00:00
{% endif %}
2016-03-27 18:17:23 +00:00
<div class="details">
<h2>Details</h2>
2015-12-30 23:53:01 +00:00
2016-03-27 18:17:23 +00:00
<ul>
<li>Event:
{% if page.event.website %}
<a href="{{ page.event.website }}">{{ page.event.name }}</a>
{% else %}
{{ page.event.name }}
{% endif %}
</li>
<li>Date: {{ page.date|date(site.default_date_format) }}</li>
<li>Location: {{ page.event.location }}</li>
</ul>
</div>
2015-09-10 00:45:06 +00:00
2015-12-29 00:39:54 +00:00
{% if page.blocks.slides %}
2016-03-27 18:17:23 +00:00
<div class="slides">
<h2 class="slides__title">Slides</h2>
2015-12-29 00:39:54 +00:00
2016-03-27 18:17:23 +00:00
<div class="slides__content">
{{ page.blocks.slides|raw }}
</div>
</div>
2015-09-10 00:45:06 +00:00
{% endif %}
2015-10-05 23:31:09 +00:00
2015-12-29 00:39:54 +00:00
{% if page.blocks.video %}
2016-03-27 18:17:23 +00:00
<div class="video">
<h2 class="video__title">Video</h2>
2015-12-29 00:39:54 +00:00
2016-03-27 18:17:23 +00:00
<div class="video__content">
{{ page.blocks.video|raw }}
</div>
</div>
2015-10-05 23:31:09 +00:00
{% endif %}
2015-12-30 23:53:01 +00:00
{% if page.blocks.feedback %}
2016-03-27 18:17:23 +00:00
<div class="feedback">
<h2 class="feedback__title">Feedback</h2>
2015-12-30 23:53:01 +00:00
2016-03-27 18:17:23 +00:00
<div class="feedback__content">
{{ page.blocks.feedback|raw }}
</div>
</div>
2015-12-30 23:53:01 +00:00
{% endif %}
2015-09-09 07:02:35 +00:00
</main>
2015-12-29 00:39:54 +00:00
{% endblock %}
2016-03-27 18:17:23 +00:00
{% block body_classes %}page--talk{% endblock %}