diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 4dc84f4..1162af7 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -3,6 +3,14 @@
{{- partial "head.html" . }} + {{ if .Page.Store.Get "hasChart" }} + + {{ end }} -{{ end }} */}} diff --git a/layouts/shortcodes/chart.html b/layouts/shortcodes/chart.html index be1aa04..67ec6d6 100644 --- a/layouts/shortcodes/chart.html +++ b/layouts/shortcodes/chart.html @@ -1,17 +1,13 @@