mirror of
https://gitlab.com/veilid/veilid-dot-com.git
synced 2024-09-08 18:13:35 +00:00
11 lines
494 B
Twig
11 lines
494 B
Twig
![]() |
{% macro youtube(id) %}
|
||
|
<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;">
|
||
|
<iframe src="//www.youtube.com/embed/{{ id }}?autoplay=1" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" allowfullscreen title="YouTube Video"></iframe>
|
||
|
</div>
|
||
|
{% endmacro %}
|
||
|
|
||
|
{% macro gist(user, id) %}
|
||
|
<script type="application/javascript" src="//gist.github.com/{{ user }}/{{ id }}.js"></script>
|
||
|
{% endmacro %}
|
||
|
|
||
|
{% block macros %}{% endblock %}
|