Move embed for Odysee into a shortcode.

This commit is contained in:
2025-11-19 20:08:44 -07:00
parent 0a9c7270fb
commit 2a9523a63b
2 changed files with 10 additions and 3 deletions

View File

@@ -1 +1,8 @@
TBD/TODO
{{ $src := .Get 0 | default (.Get "url") | default (.Get "src")
}}{{ $width := .Get 1 | default (.Get "width") | default "65" }}
<iframe
id="odysee-iframe"
style="width:{{ $width }}%; aspect-ratio:16 / 9;"
src="{{ $src }}"
allowfullscreen>
</iframe>