From ab3fbdb4d3fb1d938cd212634a480f847465fd3e Mon Sep 17 00:00:00 2001 From: nakednous Date: Wed, 29 May 2024 20:01:21 -0500 Subject: [PATCH] p5 update (1.9.4) --- layouts/shortcodes/p5-div.html | 25 +++++++++++++++--------- layouts/shortcodes/p5-global-iframe.html | 13 +++++++++--- layouts/shortcodes/p5-iframe.html | 23 ++++++++++++++-------- layouts/shortcodes/p5-instance-div.html | 23 ++++++++++++++-------- layouts/shortcodes/p5-widget.html | 2 +- themes/book | 2 +- 6 files changed, 58 insertions(+), 30 deletions(-) diff --git a/layouts/shortcodes/p5-div.html b/layouts/shortcodes/p5-div.html index fe43805..366eaad 100644 --- a/layouts/shortcodes/p5-div.html +++ b/layouts/shortcodes/p5-div.html @@ -1,18 +1,25 @@ -{{ $defver := `1.9.2` }} +{{ $defver := `1.9.4` }} {{ $sketch := .Get `sketch` }} +{{ $sound := default "false" (.Get "sound") | lower }} +{{ $treegl := default "false" (.Get "treegl") | lower }} +{{ $platonic := default "false" (.Get "platonic") | lower }} +{{ $quadrille := default "false" (.Get "quadrille") | lower }} {{ $lib1 := .Get `lib1` }} {{ $lib2 := .Get `lib2` }} {{ $lib3 := .Get `lib3` }} {{ $lib4 := .Get `lib4` }} {{ $lib5 := .Get `lib5` }} - - -{{ if isset .Params "lib1" }} {{ end }} -{{ if isset .Params "lib2" }} {{ end }} -{{ if isset .Params "lib3" }} {{ end }} -{{ if isset .Params "lib4" }} {{ end }} -{{ if isset .Params "lib5" }} {{ end }} + +{{ if eq $sound "true" }}{{ end }} +{{ if eq $treegl "true" }}{{ end }} +{{ if eq $platonic "true" }}{{ end }} +{{ if eq $quadrille "true" }}{{ end }} +{{ if isset .Params "lib1" }}{{ end }} +{{ if isset .Params "lib2" }}{{ end }} +{{ if isset .Params "lib3" }}{{ end }} +{{ if isset .Params "lib4" }}{{ end }} +{{ if isset .Params "lib5" }}{{ end }} -
\ No newline at end of file +
diff --git a/layouts/shortcodes/p5-global-iframe.html b/layouts/shortcodes/p5-global-iframe.html index dba323f..39db585 100644 --- a/layouts/shortcodes/p5-global-iframe.html +++ b/layouts/shortcodes/p5-global-iframe.html @@ -1,4 +1,8 @@ -{{ $defver := `1.9.2` }} +{{ $defver := `1.9.4` }} +{{ $sound := default "false" (.Get "sound") | lower }} +{{ $treegl := default "false" (.Get "treegl") | lower }} +{{ $platonic := default "false" (.Get "platonic") | lower }} +{{ $quadrille := default "false" (.Get "quadrille") | lower }} {{ $lib1 := .Get `lib1` }} {{ $lib2 := .Get `lib2` }} {{ $lib3 := .Get `lib3` }} @@ -12,8 +16,11 @@ - - + + {{ if eq $sound "true" }}{{ end }} + {{ if eq $treegl "true" }}{{ end }} + {{ if eq $platonic "true" }}{{ end }} + {{ if eq $quadrille "true" }}{{ end }} {{ if isset .Params "lib1" }} {{ end }} {{ if isset .Params "lib2" }} {{ end }} {{ if isset .Params "lib3" }} {{ end }} diff --git a/layouts/shortcodes/p5-iframe.html b/layouts/shortcodes/p5-iframe.html index e22f0f9..16b1e7f 100644 --- a/layouts/shortcodes/p5-iframe.html +++ b/layouts/shortcodes/p5-iframe.html @@ -1,5 +1,9 @@ -{{ $defver := `1.9.2` }} +{{ $defver := `1.9.4` }} {{ $sketch := .Get `sketch` }} +{{ $sound := default "false" (.Get "sound") | lower }} +{{ $treegl := default "false" (.Get "treegl") | lower }} +{{ $platonic := default "false" (.Get "platonic") | lower }} +{{ $quadrille := default "false" (.Get "quadrille") | lower }} {{ $lib1 := .Get `lib1` }} {{ $lib2 := .Get `lib2` }} {{ $lib3 := .Get `lib3` }} @@ -13,13 +17,16 @@ - - - {{ if isset .Params "lib1" }} {{ end }} - {{ if isset .Params "lib2" }} {{ end }} - {{ if isset .Params "lib3" }} {{ end }} - {{ if isset .Params "lib4" }} {{ end }} - {{ if isset .Params "lib5" }} {{ end }} + + {{ if eq $sound "true" }}{{ end }} + {{ if eq $treegl "true" }}{{ end }} + {{ if eq $platonic "true" }}{{ end }} + {{ if eq $quadrille "true" }}{{ end }} + {{ if isset .Params "lib1" }}{{ end }} + {{ if isset .Params "lib2" }}{{ end }} + {{ if isset .Params "lib3" }}{{ end }} + {{ if isset .Params "lib4" }}{{ end }} + {{ if isset .Params "lib5" }}{{ end }} diff --git a/layouts/shortcodes/p5-instance-div.html b/layouts/shortcodes/p5-instance-div.html index be75559..48102c8 100644 --- a/layouts/shortcodes/p5-instance-div.html +++ b/layouts/shortcodes/p5-instance-div.html @@ -1,18 +1,25 @@ {{ $id := .Get `id` }} -{{ $defver := `1.9.2` }} +{{ $defver := `1.9.4` }} +{{ $sound := default "false" (.Get "sound") | lower }} +{{ $treegl := default "false" (.Get "treegl") | lower }} +{{ $platonic := default "false" (.Get "platonic") | lower }} +{{ $quadrille := default "false" (.Get "quadrille") | lower }} {{ $lib1 := .Get `lib1` }} {{ $lib2 := .Get `lib2` }} {{ $lib3 := .Get `lib3` }} {{ $lib4 := .Get `lib4` }} {{ $lib5 := .Get `lib5` }} - - -{{ if isset .Params "lib1" }} {{ end }} -{{ if isset .Params "lib2" }} {{ end }} -{{ if isset .Params "lib3" }} {{ end }} -{{ if isset .Params "lib4" }} {{ end }} -{{ if isset .Params "lib5" }} {{ end }} + +{{ if eq $sound "true" }}{{ end }} +{{ if eq $treegl "true" }}{{ end }} +{{ if eq $platonic "true" }}{{ end }} +{{ if eq $quadrille "true" }}{{ end }} +{{ if isset .Params "lib1" }}{{ end }} +{{ if isset .Params "lib2" }}{{ end }} +{{ if isset .Params "lib3" }}{{ end }} +{{ if isset .Params "lib4" }}{{ end }} +{{ if isset .Params "lib5" }}{{ end }}
{{ with .Get "lib1" }}{{ end }} diff --git a/themes/book b/themes/book index f8a0fc4..7c26d9b 160000 --- a/themes/book +++ b/themes/book @@ -1 +1 @@ -Subproject commit f8a0fc4e246c61cea8159d2d2955f488e7d13848 +Subproject commit 7c26d9b8b731d556a2bf89848f59e8300eabc44b