From 65d31a543f78596ad94b05be7e9e4557b4e69a2a Mon Sep 17 00:00:00 2001 From: Helmut Merz Date: Wed, 1 Mar 2023 07:45:46 +0100 Subject: [PATCH] separate shortcodes: display, debug --- exampleSite/content/app/test1.md | 2 ++ layouts/shortcodes/pv/debug.html | 4 ---- layouts/shortcodes/pv/display.html | 8 -------- 3 files changed, 2 insertions(+), 12 deletions(-) diff --git a/exampleSite/content/app/test1.md b/exampleSite/content/app/test1.md index ce07321..709aee2 100644 --- a/exampleSite/content/app/test1.md +++ b/exampleSite/content/app/test1.md @@ -18,3 +18,5 @@ cyberscopes example site - use petite-vue in Hugo-generated sites. {{< pv/input-textline name="lastname" >}} {{< pv/display expr="`${data.firstname} ${data.lastname}`" >}} + +{{< pv/debug >}} diff --git a/layouts/shortcodes/pv/debug.html b/layouts/shortcodes/pv/debug.html index 632225e..730fe7b 100644 --- a/layouts/shortcodes/pv/debug.html +++ b/layouts/shortcodes/pv/debug.html @@ -2,10 +2,6 @@
id = {| conf.itemid |}
-
-

-
-

 
diff --git a/layouts/shortcodes/pv/display.html b/layouts/shortcodes/pv/display.html index 93ecef6..d73449c 100644 --- a/layouts/shortcodes/pv/display.html +++ b/layouts/shortcodes/pv/display.html @@ -3,11 +3,3 @@

 
 
-
-

-
- -
-
id = {| conf.itemid |}
-
-