Update talk page layout
This commit is contained in:
parent
710d22254c
commit
c873cf2321
34 changed files with 82 additions and 121 deletions
|
@ -1,14 +0,0 @@
|
|||
{% if page.event %}
|
||||
<h2>Details</h2>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
Event:
|
||||
{% if page.event.website %}<a href="{{ page.event.website }}">{%- endif -%}
|
||||
{{ page.event.name }}
|
||||
{%- if page.event.website -%}</a>{%- endif %}
|
||||
</li>
|
||||
<li>Date: {{ page.date|date(site.default_date_format) }}</li>
|
||||
<li>Location: {{ page.event.location }}</li>
|
||||
</ul>
|
||||
{% endif %}
|
3
source/_partials/talk/location.twig
Normal file
3
source/_partials/talk/location.twig
Normal file
|
@ -0,0 +1,3 @@
|
|||
<p class="talk-location">
|
||||
At {{ page.location }} on {{ page.date|date('jS F Y') }}.
|
||||
</p>
|
|
@ -1,9 +1,5 @@
|
|||
{% if page.slides.embed %}
|
||||
<div class="slides">
|
||||
<h2 class="slides__title">Slides</h2>
|
||||
|
||||
<div class="slides__content">
|
||||
{{ page.slides.embed|raw }}
|
||||
</div>
|
||||
<div class="talk-slides">
|
||||
{{ page.slides.embed|raw }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% if page.video.embed %}
|
||||
<h2>Video</h2>
|
||||
|
||||
<div class="embed-container">
|
||||
{{ page.video.embed|raw }}
|
||||
<div class="talk-video">
|
||||
<div class="embed-container">
|
||||
{{ page.video.embed|raw }}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
</a>
|
||||
</td>
|
||||
|
||||
<td>{{ talk.event.name }}</td>
|
||||
<td>{{ talk.location }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue