migration, more images, index.html, youtube.html

This commit is contained in:
kylejcarlton 2021-11-26 17:01:10 -06:00
parent 4438fd659e
commit 8a58ed2bfe
7 changed files with 50 additions and 23 deletions

View file

@ -103,7 +103,7 @@
<span class="copyright-theme">
<span class="copyright-theme-sep">:: </span>
Theme: <a href="https://github.com/pawroman/zola-theme-terminimal/">Terminimal</a> by pawroman
Powered by <a href="https://www.getzola.org/">Zola</a> <a href="https://github.com/pawroman/zola-theme-terminimal/">Terminimal Theme</a>.
</span>
</div>
{% endif -%}

View file

@ -0,0 +1,19 @@
.responsive-iframe {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
width: 100%;
height: 100%;
}
<div {% if class %}class="{{class}}"{% endif %}>
<iframe
class="responsive-iframe"
src="https://www.youtube.com/embed/{{id}}{% if autoplay %}?autoplay=1{% endif %}"
webkitallowfullscreen
mozallowfullscreen
allowfullscreen>
</iframe>
</div>