Move into an include
This commit is contained in:
parent
b195943c6c
commit
3694e89f96
2 changed files with 10 additions and 9 deletions
9
source/_includes/talk/image.html.twig
Normal file
9
source/_includes/talk/image.html.twig
Normal file
|
@ -0,0 +1,9 @@
|
|||
{% if talk.speakerdeck.id %}
|
||||
<div class="hidden sm:block sm:w-1/5 md:w-1/4 sm:mx-2">
|
||||
<img
|
||||
src="https://speakerd.s3.amazonaws.com/presentations/{{ talk.speakerdeck.id }}/slide_0.jpg"
|
||||
alt="{{ talk.title }}"
|
||||
class="border border-solid p-1 bg-white"
|
||||
>
|
||||
</div>
|
||||
{% endif %}
|
Loading…
Add table
Add a link
Reference in a new issue