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

github.com/StaticMania/portio-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/hero.html')
-rw-r--r--layouts/partials/hero.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/partials/hero.html b/layouts/partials/hero.html
index cd389e1..2b3fe3d 100644
--- a/layouts/partials/hero.html
+++ b/layouts/partials/hero.html
@@ -46,6 +46,8 @@
-webkit-mask-size: contain;
-webkit-mask-position: center center;
' />
+
+ {{ if .videoURL }}
<div class="hero_figure-popup">
<div class="thumb">
<img src="{{ .videoThumb }}" alt="popup" />
@@ -58,6 +60,7 @@
</svg>
</a>
</div>
+ {{end}}
</div>
</div>
</div>