Update partials
This commit is contained in:
parent
fbbe3276e7
commit
9bd39e9692
19 changed files with 129 additions and 124 deletions
14
source/_partials/talk/event.html.twig
Normal file
14
source/_partials/talk/event.html.twig
Normal file
|
@ -0,0 +1,14 @@
|
|||
{% 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 %}
|
9
source/_partials/talk/slides.html.twig
Normal file
9
source/_partials/talk/slides.html.twig
Normal file
|
@ -0,0 +1,9 @@
|
|||
{% if page.slides.embed %}
|
||||
<div class="slides">
|
||||
<h2 class="slides__title">Slides</h2>
|
||||
|
||||
<div class="slides__content">
|
||||
{{ page.slides.embed|raw }}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
7
source/_partials/talk/video.html.twig
Normal file
7
source/_partials/talk/video.html.twig
Normal file
|
@ -0,0 +1,7 @@
|
|||
{% if page.video.embed %}
|
||||
<h2>Video</h2>
|
||||
|
||||
<div class="embed-container">
|
||||
{{ page.video.embed|raw }}
|
||||
</div>
|
||||
{% endif %}
|
Loading…
Add table
Add a link
Reference in a new issue