diff options
Diffstat (limited to 'layouts/partials/content_card_header.html')
-rw-r--r-- | layouts/partials/content_card_header.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/content_card_header.html b/layouts/partials/content_card_header.html index 4a0d4fd..1092d3f 100644 --- a/layouts/partials/content_card_header.html +++ b/layouts/partials/content_card_header.html @@ -1,4 +1,4 @@ -{{ if eq .Type "video" }} +{{ if and (eq .Type "video") (not .Site.Config.Privacy.YouTube.Disable) }} <div class="video-container"> {{ if .Scratch.Get "fullsize" }} <iframe src="https://www.youtube-nocookie.com/embed/{{ .Params.youtube }}?rel=0" width="100%" height="600px" frameborder="0" allowfullscreen></iframe> |