lektor-youtube-embed
Lektor template filter to convert youtube links to embeds
Installation
pip install lektor-youtube-embed
Usage
{{ "https://www.youtube.com/watch?v=9Yk9iRDESDo" | youtube }}
{{ "https://youtu.be/BdXDT-5jci0" | youtube(width=640, height=480, attrs={'class': 'video'}) }}