diff options
author | tdro <tdro@noreply.example.com> | 2022-07-10 10:38:36 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-07-10 10:38:36 -0400 |
commit | 820e15d2a94c3b39b942ef797df437ba834ed1ac (patch) | |
tree | 6dc0ee90ac68896dd5498f018f8907d38a6061e8 /themes/default/layouts/shortcodes | |
parent | a5574eacc0561239f9989b6a73aa7e7b604c5d53 (diff) | |
download | canory-820e15d2a94c3b39b942ef797df437ba834ed1ac.tar.gz canory-820e15d2a94c3b39b942ef797df437ba834ed1ac.tar.bz2 canory-820e15d2a94c3b39b942ef797df437ba834ed1ac.zip |
themes/default/layouts/shortcodes/video: Set default implicit title
Diffstat (limited to 'themes/default/layouts/shortcodes')
-rw-r--r-- | themes/default/layouts/shortcodes/video.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/layouts/shortcodes/video.html b/themes/default/layouts/shortcodes/video.html index bb49f8c..c7a2999 100644 --- a/themes/default/layouts/shortcodes/video.html +++ b/themes/default/layouts/shortcodes/video.html @@ -8,8 +8,8 @@ {{- $height := default "" (.Get "height" | default (.Get 3)) -}} {{- $preload := default "metadata" (.Get "preload" | default (.Get 4)) -}} {{- $options := default "controls" (.Get "options" | default (.Get 5)) -}} -{{- $caption := default "`HTML5` Video" (.Get "caption" | default (.Get 6)) -}} -{{- $title := default "HTML5 Video" (.Get "title" | default (.Get 7)) -}} +{{- $caption := default "Untitled Video" (.Get "caption" | default (.Get 6)) -}} +{{- $title := default $caption (.Get "title" | default (.Get 7)) -}} {{- $start := default "" (.Get "start" | default (.Get 8)) -}} {{- $end := default "" (.Get "end" | default (.Get 9)) -}} |