Update talk layouts and partials

This commit is contained in:
Oliver Davies 2017-03-06 06:06:18 +00:00
parent 04615f90fe
commit 7583f53740
6 changed files with 4 additions and 34 deletions

View file

@ -1,3 +0,0 @@
<p class="talk-location">
At {{ page.location }} on {{ page.date|date('jS F Y') }}.
</p>

View file

@ -1,7 +0,0 @@
{% if page.logo %}
<div class="talk-logo">
{% if page.logo_link %}<a href="{{ page.logo_link }}" title="{{ page.location }}" target="_blank">{% endif -%}
<img src="{{ site.url }}/{{ page.logo }}" alt="{{ page.location }}">
{%- if page.logo_link %}</a>{% endif %}
</div>
{% endif %}

View file

@ -1,17 +0,0 @@
<div class="talk-pager is-flex">
{% if page.previous_talk %}
<div class="is-half">
<a href="{{ page.previous_talk.url }}">
&laquo; {{ page.previous_talk.title }}
</a>
</div>
{% endif %}
{% if page.next_talk %}
<div class="is-half text-right">
<a href="{{ page.next_talk.url }}">
{{ page.next_talk.title }} &raquo;
</a>
</div>
{% endif %}
</div>

View file

@ -1,5 +1,6 @@
{% if page.slides_embed %}
<div class="talk-slides">
<h2>Slides</h2>
{{ page.slides_embed|raw }}
</div>
{% endif %}

View file

@ -1,5 +1,6 @@
{% if page.video_embed %}
<div class="talk-video">
<h2>Video</h2>
<div class="embed-container">
{{ page.video_embed|raw }}
</div>

View file

@ -5,15 +5,10 @@
{% endblock %}
{% block content_wrapper %}
{% include 'talk/location' %}
{% include 'talk/slides' %}
{% include 'talk/video' %}
<div class="talk-description">
{% include 'talk/logo' %}
{% block content %}{% endblock %}
</div>
{% include 'talk/pager' %}
{% include 'talk/slides' %}
{% include 'talk/video' %}
{% endblock %}