diff --git a/layouts/shortcodes/attachments.html b/layouts/shortcodes/attachments.html index 9f370d72bd5..34a7ee71572 100644 --- a/layouts/shortcodes/attachments.html +++ b/layouts/shortcodes/attachments.html @@ -1,3 +1,4 @@ +{{- $_hugo_config := `{ "version": 1 }` }} {{- partial "shortcodes/attachments.html" (dict "context" .Page "color" (.Get "color") diff --git a/layouts/shortcodes/badge.html b/layouts/shortcodes/badge.html index 7136cf84c5d..b3c4163c03a 100644 --- a/layouts/shortcodes/badge.html +++ b/layouts/shortcodes/badge.html @@ -1,3 +1,4 @@ +{{- $_hugo_config := `{ "version": 1 }` }} {{- partial "shortcodes/badge.html" (dict "context" .Page "color" (.Get "color") diff --git a/layouts/shortcodes/button.html b/layouts/shortcodes/button.html index 22ccaeb2faf..1e9941d1ab7 100644 --- a/layouts/shortcodes/button.html +++ b/layouts/shortcodes/button.html @@ -1,3 +1,4 @@ +{{- $_hugo_config := `{ "version": 1 }` }} {{- partial "shortcodes/button.html" (dict "context" .Page "color" (.Get "color") diff --git a/layouts/shortcodes/children.html b/layouts/shortcodes/children.html index 01f2037dbac..d0005148598 100644 --- a/layouts/shortcodes/children.html +++ b/layouts/shortcodes/children.html @@ -1,3 +1,4 @@ +{{- $_hugo_config := `{ "version": 1 }` }} {{- partial "shortcodes/children.html" (dict "context" .Page "containerstyle" (.Get "containerstyle") diff --git a/layouts/shortcodes/icon.html b/layouts/shortcodes/icon.html index 55c57c56fc8..80e60fd99a2 100644 --- a/layouts/shortcodes/icon.html +++ b/layouts/shortcodes/icon.html @@ -1,3 +1,4 @@ +{{- $_hugo_config := `{ "version": 1 }` }} {{- partial "shortcodes/icon.html" (dict "context" .Page "icon" (.Get "icon" | default (.Get 0)) diff --git a/layouts/shortcodes/math.html b/layouts/shortcodes/math.html index 1fe4af9fbcb..1e037bac43e 100644 --- a/layouts/shortcodes/math.html +++ b/layouts/shortcodes/math.html @@ -1,3 +1,4 @@ +{{- $_hugo_config := `{ "version": 1 }` }} {{- partial "shortcodes/math.html" (dict "context" .Page "content" .Inner diff --git a/layouts/shortcodes/mermaid.html b/layouts/shortcodes/mermaid.html index 4d22258db02..1ff05523e30 100644 --- a/layouts/shortcodes/mermaid.html +++ b/layouts/shortcodes/mermaid.html @@ -1,3 +1,4 @@ +{{- $_hugo_config := `{ "version": 1 }` }} {{- partial "shortcodes/mermaid.html" (dict "context" .Page "content" .Inner