From 9ecd05f363b5455de12c7cedd33955715c2c353c Mon Sep 17 00:00:00 2001 From: Dominic Reich Date: Mon, 27 May 2024 22:43:41 +0200 Subject: [PATCH] update shortcode video --- layouts/shortcodes/video.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/layouts/shortcodes/video.html b/layouts/shortcodes/video.html index b04619e..28e6d0b 100644 --- a/layouts/shortcodes/video.html +++ b/layouts/shortcodes/video.html @@ -1,7 +1,7 @@ {{- $src := .Get "src" | default (.Get 0) -}} -{{- $title := .Get "title" | default "Shared video" }} +{{- $title := .Get "title" | default (.Get 1) | default "Shared video" }} -