From 11099f76fce2e9916b7c7912036d4e486c0b0cd9 Mon Sep 17 00:00:00 2001
From: Ray <rwstorer@hotmail.com>
Date: Sun, 11 Jun 2023 03:12:51 +0000
Subject: [PATCH] missed one of the bkImg vars

---
 layouts/shortcodes/liteyoutube.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/layouts/shortcodes/liteyoutube.html b/layouts/shortcodes/liteyoutube.html
index 28cf3ed..ec22bbc 100644
--- a/layouts/shortcodes/liteyoutube.html
+++ b/layouts/shortcodes/liteyoutube.html
@@ -3,7 +3,7 @@
   {{ $img := .Get "img" }} <!-- not required. The initial background image instead of a generated one. -->
   {{ $params := .Get "params" }} <!-- not required. List of params here: https://developers.google.com/youtube/player_parameters -->
   {{ with $img }} {{ $img := absURL (printf "images/%s" $img) }} {{ end }}
-  <lite-youtube videoid="{{$videoid}}"{{ with $bkImg }} style="background-image: url('{{ . }}')"{{ end }}{{ with $params }} params="{{ . }}"{{ end }}></lite-youtube>
+  <lite-youtube videoid="{{$videoid}}"{{ with $img }} style="background-image: url('{{ . }}')"{{ end }}{{ with $params }} params="{{ . }}"{{ end }}></lite-youtube>
 {{ else }}
   {{ $videoid := .Get 0 }} <!-- required. -->
   {{ $img := .Get 1 }} <!-- not required. The initial background image instead of a generated one. -->

--
Gitblit v1.10.0