From ba80d65f45da95f0e1ed25a980d0fa032b278b32 Mon Sep 17 00:00:00 2001
From: Ray <rwstorer@hotmail.com>
Date: Sun, 11 Jun 2023 04:16:52 +0000
Subject: [PATCH] more debugging

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

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

--
Gitblit v1.10.0