diff options
author | tdro <tdro@noreply.example.com> | 2022-06-12 04:27:11 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-06-12 04:27:59 -0400 |
commit | 8fea3c3ba35a978b320428250fbb6b89c73945dd (patch) | |
tree | 6c2fcaf04cdbb88f614d5ac6adc3f647381b72b4 /themes/default/layouts/partials/video-container.html | |
parent | 1978be8ad28bbdc6eec325727896e65448c65982 (diff) | |
download | canory-8fea3c3ba35a978b320428250fbb6b89c73945dd.tar.gz canory-8fea3c3ba35a978b320428250fbb6b89c73945dd.tar.bz2 canory-8fea3c3ba35a978b320428250fbb6b89c73945dd.zip |
themes/default/layouts/partials/video-container: Add missing caption variable
Diffstat (limited to 'themes/default/layouts/partials/video-container.html')
-rw-r--r-- | themes/default/layouts/partials/video-container.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/themes/default/layouts/partials/video-container.html b/themes/default/layouts/partials/video-container.html index 8292f12..015aec8 100644 --- a/themes/default/layouts/partials/video-container.html +++ b/themes/default/layouts/partials/video-container.html @@ -1,4 +1,5 @@ {{- $cache := "" -}} +{{- $caption := .Caption -}} {{- $public := print "public/" .Source -}} {{- $timestamp := print "#t=" .Start "," .End -}} @@ -31,7 +32,7 @@ </p> </video> <footer> - {{ .Caption | markdownify }} + {{ $caption | markdownify }} <br> Index: {{ with $cache }} {{ print "[Cache](" . ")" | markdownify }} · {{ end }} {{ print "[Source](" .Source ")" | markdownify }} |