diff options
author | jbleduigou <jb.leduigou@gmail.com> | 2020-10-21 22:09:49 +0300 |
---|---|---|
committer | jbleduigou <jb.leduigou@gmail.com> | 2020-10-21 22:09:49 +0300 |
commit | ce767d5301ca1971d466577b953bb4d0205764e8 (patch) | |
tree | 99426c1c795a336456e107ae043c13ae47f81d24 | |
parent | cf794483a541069e0a1d7e539200bf7f1e9008be (diff) |
🎨 hide video if none configured
Signed-off-by: jbleduigou <jb.leduigou@gmail.com>
-rw-r--r-- | layouts/partials/hero.html | 3 |
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> |