Moved the default Odysee video width to site settings.

This commit is contained in:
2025-12-24 15:04:06 -07:00
parent 923d1848ab
commit b846074c45

View File

@@ -1,5 +1,5 @@
{{ $src := .Get 0 | default (.Get "url") | default (.Get "src")
}}{{ $width := .Get 1 | default (.Get "width") | default "80" }}
}}{{ $width := .Get 1 | default (.Get "width") | default (.Site.Params.odyseeVideoWidthPercentage) }}
<iframe
id="odysee-iframe"
style="width:{{ $width }}%; aspect-ratio:16 / 9;"