aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/shortcodes/odysee.html
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-06-04 03:58:16 -0400
committertdro <tdro@noreply.example.com>2022-06-04 03:58:16 -0400
commit49807a0d253e5df7c12990b16cd9c1ef6aef6dab (patch)
treebf7408fbd4e8af392e9ca7839e1824af1b05df97 /themes/default/layouts/shortcodes/odysee.html
parent8f60938e286d5b79c73b3bbdcc900aa28da2fe84 (diff)
downloadcanory-49807a0d253e5df7c12990b16cd9c1ef6aef6dab.tar.gz
canory-49807a0d253e5df7c12990b16cd9c1ef6aef6dab.tar.bz2
canory-49807a0d253e5df7c12990b16cd9c1ef6aef6dab.zip
themes/default/layouts/shortcodes: Wrap source links in parenthesis
Diffstat (limited to 'themes/default/layouts/shortcodes/odysee.html')
-rw-r--r--themes/default/layouts/shortcodes/odysee.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/layouts/shortcodes/odysee.html b/themes/default/layouts/shortcodes/odysee.html
index de9bd3a..0f2899e 100644
--- a/themes/default/layouts/shortcodes/odysee.html
+++ b/themes/default/layouts/shortcodes/odysee.html
@@ -1,6 +1,6 @@
{{- $url := default "https://odysee.com/$/embed/odysee/7a416c44a6888d94fe045241bbac055c726332aa" (.Get "url" | default (.Get 0)) -}}
{{- $title := default "Odysee Video" (.Get "title" | default (.Get 1)) -}}
-{{- $caption := default (print $title ": [Link](" $url ")") (.Get "caption" | default (.Get 2)) -}}
+{{- $caption := default (print $title " ([Link](" $url "))") (.Get "caption" | default (.Get 2)) -}}
<odysee-video>
<iframe