mattpopovich / mattpopovich.com

Source code for https://mattpopovich.com
https://mattpopovich.com
MIT License
0 stars 0 forks source link

Update YouTube embeddings #1

Closed mattpopovich closed 1 year ago

mattpopovich commented 1 year ago

Instead of

<div style="text-align:center">
<iframe width="560" height="315"
src="https://www.youtube.com/embed/uQCvAZjiesw"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen></iframe>
</div>

Use

{% include embed/{Platform}.html id='{ID}' %}

Via: https://chirpy.cotes.page/posts/write-a-new-post/#videos

mattpopovich commented 1 year ago

Still need to update make-new-post.py