From 726a11f5e7b84a5968a20d524af18ae57428e1d3 Mon Sep 17 00:00:00 2001
From: Ray <rwstorer@hotmail.com>
Date: Sun, 11 Jun 2023 04:00:11 +0000
Subject: [PATCH] template debug

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

diff --git a/layouts/shortcodes/liteyoutube.html b/layouts/shortcodes/liteyoutube.html
index 63ed79d..7efef7d 100644
--- a/layouts/shortcodes/liteyoutube.html
+++ b/layouts/shortcodes/liteyoutube.html
@@ -5,6 +5,7 @@
   {{ $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 -->" }}
 {{ else }}
   {{- $videoid := .Get 0 -}} <!-- required. -->
   {{- $img := .Get 1 -}} <!-- not required. The initial background image instead of a generated one. -->
@@ -12,4 +13,5 @@
   {{ $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 -->" }}
 {{ end }}

--
Gitblit v1.10.0