diff options
| author | tdro <tdro@noreply.example.com> | 2024-09-22 00:00:00 +0000 |
|---|---|---|
| committer | tdro <tdro@noreply.example.com> | 2024-09-22 00:00:00 +0000 |
| commit | d4e0fdfeb286143b0370afb7f2371c73a5eff92f (patch) | |
| tree | caf1c54e241f9abbbaec35e2bc81aaecd6214c37 | |
| parent | 322b28a459e264599f4d058dcea1cc3e973620d0 (diff) | |
| download | canory-d4e0fdfeb286143b0370afb7f2371c73a5eff92f.tar.gz canory-d4e0fdfeb286143b0370afb7f2371c73a5eff92f.tar.bz2 canory-d4e0fdfeb286143b0370afb7f2371c73a5eff92f.zip | |
themes/default/layouts/shortcodes/video.rss: Fix
| -rw-r--r-- | themes/default/layouts/shortcodes/video.rss.xml | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/themes/default/layouts/shortcodes/video.rss.xml b/themes/default/layouts/shortcodes/video.rss.xml index be262e7..d3b2d1d 100644 --- a/themes/default/layouts/shortcodes/video.rss.xml +++ b/themes/default/layouts/shortcodes/video.rss.xml @@ -15,15 +15,14 @@ {{- $orientation := default "landscape" (.Get "orientation" | default (.Get 10)) -}} {{- $remote := default "" (.Get "remote" | default (.Get 11)) -}} +<video title="{{ $title }}" controls=""> + <source src="{{ $source }}" /> +</video> + <p> - <b> - <a - title="{{ $title }}" - href="{{ $source }}" - > - Video: {{ $caption -}} - </a> - </b> - <br> - <span>Title: {{ $title }}</span> + <b>Video:</b> + <a title="{{ $title }}" href="{{ $source }}">{{ $source }}</a> + <br /> + <b>Caption:</b> + <span>{{ $caption }}</span> </p> |
