Update talk layouts and partials
This commit is contained in:
parent
04615f90fe
commit
7583f53740
|
@ -1,3 +0,0 @@
|
|||
<p class="talk-location">
|
||||
At {{ page.location }} on {{ page.date|date('jS F Y') }}.
|
||||
</p>
|
|
@ -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 %}
|
|
@ -1,17 +0,0 @@
|
|||
<div class="talk-pager is-flex">
|
||||
{% if page.previous_talk %}
|
||||
<div class="is-half">
|
||||
<a href="{{ page.previous_talk.url }}">
|
||||
« {{ 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 }} »
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
|
@ -1,5 +1,6 @@
|
|||
{% if page.slides_embed %}
|
||||
<div class="talk-slides">
|
||||
<h2>Slides</h2>
|
||||
{{ page.slides_embed|raw }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{% if page.video_embed %}
|
||||
<div class="talk-video">
|
||||
<h2>Video</h2>
|
||||
<div class="embed-container">
|
||||
{{ page.video_embed|raw }}
|
||||
</div>
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue