diff --git a/guides/eleventy.adoc b/guides/eleventy.adoc index 4ceabc09..c0861ffb 100644 --- a/guides/eleventy.adoc +++ b/guides/eleventy.adoc @@ -1874,7 +1874,7 @@ hero_text: "Hello World" This component can make the connection between "text" and ".Params.hero_text", and will work as expected in the visual editor. --> -{{ partial "bookshop_bindings" `(dict text .Params.hero_text)` }} +{{ partial "bookshop_bindings" `(dict "text" .Params.hero_text)` }} {{ partial "bookshop" (slice "hero" (dict "text" .Params.hero_text)) }} {{ my_title := .Params.hero_text }} diff --git a/guides/hugo.adoc b/guides/hugo.adoc index 5190fa0c..74ff9157 100644 --- a/guides/hugo.adoc +++ b/guides/hugo.adoc @@ -1876,7 +1876,7 @@ hero_text: "Hello World" This component can make the connection between "text" and ".Params.hero_text", and will work as expected in the visual editor. --> -{{ partial "bookshop_bindings" `(dict text .Params.hero_text)` }} +{{ partial "bookshop_bindings" `(dict "text" .Params.hero_text)` }} {{ partial "bookshop" (slice "hero" (dict "text" .Params.hero_text)) }} {{ my_title := .Params.hero_text }} diff --git a/guides/jekyll.adoc b/guides/jekyll.adoc index 8be00032..bbdaa9e3 100644 --- a/guides/jekyll.adoc +++ b/guides/jekyll.adoc @@ -1874,7 +1874,7 @@ hero_text: "Hello World" This component can make the connection between "text" and ".Params.hero_text", and will work as expected in the visual editor. --> -{{ partial "bookshop_bindings" `(dict text .Params.hero_text)` }} +{{ partial "bookshop_bindings" `(dict "text" .Params.hero_text)` }} {{ partial "bookshop" (slice "hero" (dict "text" .Params.hero_text)) }} {{ my_title := .Params.hero_text }} diff --git a/guides/sveltekit.adoc b/guides/sveltekit.adoc index 6ceae393..35d75fd3 100644 --- a/guides/sveltekit.adoc +++ b/guides/sveltekit.adoc @@ -1874,7 +1874,7 @@ hero_text: "Hello World" This component can make the connection between "text" and ".Params.hero_text", and will work as expected in the visual editor. --> -{{ partial "bookshop_bindings" `(dict text .Params.hero_text)` }} +{{ partial "bookshop_bindings" `(dict "text" .Params.hero_text)` }} {{ partial "bookshop" (slice "hero" (dict "text" .Params.hero_text)) }} {{ my_title := .Params.hero_text }}