source: tanzpartie-hugo/themes/bilberry-hugo-theme/layouts/shortcodes/video.html @ 17208

Last change on this file since 17208 was 16971, checked in by Henrik Bettermann, 2 years ago
File size: 242 bytes
RevLine 
[16971]1{{ $type := .Get "type" }}
2{{ if eq $type "mp4"}}
3    {{ partial "video-embed" (dict "type" $type "url" (.Get "url") "imageUrl" (.Get "imageUrl")) }}
4{{ else }}
5    {{ partial "video-embed" (dict "type" $type "id" (.Get "id")) }}
6{{ end }}
7
8
Note: See TracBrowser for help on using the repository browser.