Move embed for Odysee into a shortcode.
This commit is contained in:
@@ -22,8 +22,8 @@ aliases:
|
|||||||
|
|
||||||
## Video
|
## Video
|
||||||
|
|
||||||
<iframe id="odysee-iframe" style="width:65%; aspect-ratio:16 / 9;" src="https://odysee.com/%24/embed/%40HyperVegan%3A2%2F20251104-HyperVegan-WoodenCampingChair%3A9?r=4q2dQKSs36tFPf8KCfHEopK8EYPchiaG" allowfullscreen></iframe>
|
{{< odysee "https://odysee.com/%24/embed/%40HyperVegan%3A2%2F20251104-HyperVegan-WoodenCampingChair%3A9?r=4q2dQKSs36tFPf8KCfHEopK8EYPchiaG"
|
||||||
|
>}}
|
||||||
|
|
||||||
[HyperVegan | Wooden Camping Chair](https://odysee.com/@HyperVegan:2/20251104-HyperVegan-WoodenCampingChair:9)
|
[HyperVegan | Wooden Camping Chair](https://odysee.com/@HyperVegan:2/20251104-HyperVegan-WoodenCampingChair:9)
|
||||||
|
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user