Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/spech66/materialize-bp-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/content_card_header.html')
-rw-r--r--layouts/partials/content_card_header.html2
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>