diff --git a/layouts/shortcodes/youtubepl.html b/layouts/shortcodes/youtubepl.html new file mode 100644 index 0000000..715ff67 --- /dev/null +++ b/layouts/shortcodes/youtubepl.html @@ -0,0 +1,12 @@ + + +{{- $pc := .Page.Site.Config.Privacy.YouTube -}} +{{- if not $pc.Disable -}} +{{- $ytHost := cond $pc.PrivacyEnhanced "www.youtube-nocookie.com" "www.youtube.com" -}} +{{- $id := .Get "id" | default (.Get 0) -}} +{{- $class := .Get "class" | default (.Get 1) -}} +{{- $title := .Get "title" | default "YouTube Video" }} +
+ +
+{{ end -}} \ No newline at end of file