{% 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 %}