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/_views/talk.twig

49 lines
1.3 KiB
Twig
Raw Normal View History

2016-05-27 19:00:54 +00:00
{% extends 'default' %}
2015-09-09 07:02:35 +00:00
2017-03-06 20:43:33 +00:00
{% block body_classes 'talk talk-full' %}
2016-05-13 23:55:00 +00:00
{% block content_top %}
<h1>{{ page.title }}</h1>
{% endblock %}
2015-09-09 07:02:35 +00:00
2016-05-13 23:55:00 +00:00
{% block content_wrapper %}
2017-02-19 23:05:39 +00:00
<div class="talk-description">
2017-02-19 21:14:22 +00:00
{% block content %}{% endblock %}
</div>
{% if page.slides.embed %}
<div class="talk-slides">
<h2>Slides</h2>
<div class="presentation">
{{ page.slides.embed|raw }}
</div>{# .presentation #}
</div>{# .talk-slides #}
{% endif %}
{% if page.video.embed %}
<div class="talk-video">
<h2>Video</h2>
<div class="embed-container">
{{ page.video.embed|raw }}
</div>
</div>{# .talk-video #}
{% endif %}
<div class="talk-events">
<h2>Events</h2>
{% set events = [] %}
{% for event in page.events %}
{% set event = event|merge({ talk: page })|merge(site.events[event.id]) %}
{% set events = events|merge([event]) %}
{% endfor %}
{% include "talks-table" with { events: events, hide_talk: true } %}
</div>{# .talk-events #}
2015-12-29 00:39:54 +00:00
{% endblock %}
2017-05-21 21:04:57 +00:00
{% block stylesheets %}
<link rel="stylesheet" href="{{ site.url }}/assets/css/talk.css">
<link rel="stylesheet" href="{{ site.url }}/assets/css/talks-table.css">
{% endblock %}