diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 350fe66..d3aa6a1 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -14,12 +14,12 @@ {{ end }} {{ define "scripts" }} - {{- if .Page.Scratch.Get "includes_railroad_diagram" -}} + {{- if .Page.Store.Get "includes_railroad_diagram" -}} {{- end -}} - {{- if .Page.Scratch.Get "includes_p5_sketch" -}} + {{- if .Page.Store.Get "includes_p5_sketch" -}} {{- end -}} diff --git a/layouts/shortcodes/figures/p5.html b/layouts/shortcodes/figures/p5.html index a19a63e..1cd1c08 100644 --- a/layouts/shortcodes/figures/p5.html +++ b/layouts/shortcodes/figures/p5.html @@ -1,5 +1,5 @@ {{ $id := .Get "id" }} -{{ .Page.Scratch.Set "includes_p5_sketch" true }} +{{ .Page.Store.Set "includes_p5_sketch" true }}