diff --git a/source/_layouts/base.html.twig b/source/_layouts/base.html.twig index 1a809662..06da707e 100644 --- a/source/_layouts/base.html.twig +++ b/source/_layouts/base.html.twig @@ -1,23 +1,23 @@ - {{ include('head.html.twig') }} + {{ include('head') }} - {{ include('nav.html.twig') }} + {{ include('nav') }}
- {% block content_wrapper %} -
- {% block content_top %}{% endblock %} +
+ {% block content_top %}{% endblock %} + {% block content_wrapper %} {% block content %}{% endblock %} - {% block content_bottom %}{% endblock %} -
- {% endblock %} + {% endblock %} + {% block content_bottom %}{% endblock %} +
- {{ include('sidebar.html.twig') }} + {{ include('sidebar') }}
{# .row #}
{# .container #} - {{ include('footer.html.twig') }} + {{ include('footer') }} diff --git a/source/_layouts/talk.html.twig b/source/_layouts/talk.html.twig index bc0887bd..f7a4a093 100644 --- a/source/_layouts/talk.html.twig +++ b/source/_layouts/talk.html.twig @@ -1,65 +1,42 @@ -{% extends 'default.html.twig' %} +{% extends "base" %} -{% block content_wrapper %} -
-

{{ page.title }}

- - {% if page.blocks.abstract %} -
-

Abstract

- -
- {{ page.blocks.abstract|raw }} -
-
- {% endif %} - -
-

Details

- - -
- - {% if page.blocks.slides %} -
-

Slides

- -
- {{ page.blocks.slides|raw }} -
-
- {% endif %} - - {% if page.blocks.video %} -
-

Video

- -
- {{ page.blocks.video|raw }} -
-
- {% endif %} - - {% if page.blocks.feedback %} -
- - - -
- {% endif %} -
+{% block content_top %} +

{{ page.title }}

{% endblock %} -{% block body_classes %}page--talk{% endblock %} +{% block content_wrapper %} + {% block content %}{% endblock %} + + {% if page.event %} +

Details

+ + + {% endif %} + + {% if page.slides.embed %} +
+

Slides

+ +
+ {{ page.slides.embed|raw }} +
+
+ {% endif %} + + {% if page.video.embed %} +

Video

+ +
+ {{ page.video.embed|raw }} +
+ {% endif %} +{% endblock %}