dashboard
repositories
filestore
activity
search
login
external-software
/
github_gohugo_theme_compose
mirror of
https://github.com/onweru/compose.git
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
update config.toml
Ray
11.16.2023
0f1fb40e912e24c8c23e3cf0c92c198daf624cd4
[external-software/github_gohugo_theme_compose.git]
/
layouts
/
shortcodes
/
liteyoutube.html
1
2
3
4
5
6
7
8
9
10
{{ $videoid := .Get "videoid" }}
{{ if not $videoid }}
{{ $videoid := .Get 0 }}
{{ if not $videoid }}
{{ errorf "'videoid' parameter required!" }}
{{ end }}
{{ end }}
{{ $params := .Get "params" }} <!-- not required. List of params here: https://developers.google.com/youtube/player_parameters -->
<lite-youtube videoid="{{ $videoid }}"{{ if $params }} params="{{$params}}"{{ end }}></lite-youtube>