Shortcodes: add video embed shortcode

frp-translations
Jae Lo Presti 3 months ago
parent 4844ee0780
commit 17bcc4c017
Signed by: jae
SSH Key Fingerprint: SHA256:hmKix/+XG+9GEGHgDdiqXfmB2O7BU4CPVOoQoIYIQ2Y
  1. 4
      layouts/shortcodes/yt.html

@ -0,0 +1,4 @@
<div class="embed video-player">
<iframe class="youtube-player" type="text/html" width="640" height="385" src="https://yt.jae.fi/embed/{{ index .Params 0 }}" allowfullscreen frameborder="0">
</iframe>
</div>