Extract includes from the talk layout
This commit is contained in:
parent
de2a1dcee3
commit
aad6d0315e
4 changed files with 56 additions and 47 deletions
15
source/_includes/talk/slides.html.twig
Normal file
15
source/_includes/talk/slides.html.twig
Normal file
|
@ -0,0 +1,15 @@
|
|||
{% if speakerdeck.id %}
|
||||
<section>
|
||||
<h2>Slides</h2>
|
||||
|
||||
<div>
|
||||
<noscript>**Please enable JavaScript to view slides.**</noscript>
|
||||
<script
|
||||
class="speakerdeck-embed"
|
||||
data-id="{{ speakerdeck.id }}"
|
||||
data-ratio="{{ speakerdeck.ratio ?? '1.29456384323641' }}"
|
||||
src="//speakerdeck.com/assets/embed.js"
|
||||
></script>
|
||||
</div>
|
||||
</section>
|
||||
{% endif %}
|
Loading…
Add table
Add a link
Reference in a new issue