diff options
Diffstat (limited to 'layouts/shortcodes')
| -rw-r--r-- | layouts/shortcodes/chart.html | 2 | ||||
| -rw-r--r-- | layouts/shortcodes/perf-chart.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/shortcodes/chart.html b/layouts/shortcodes/chart.html index 196bdfa..bd956bf 100644 --- a/layouts/shortcodes/chart.html +++ b/layouts/shortcodes/chart.html @@ -6,7 +6,7 @@ {{- $options := .Get "options" | default "{}" -}} {{/* Load chart presets */}} -{{- $presets := site.Data.chart_presets -}} +{{- $presets := hugo.Data.chart_presets -}} {{/* Handle preset-based charts */}} {{- if $preset -}} diff --git a/layouts/shortcodes/perf-chart.html b/layouts/shortcodes/perf-chart.html index b47e519..d12c840 100644 --- a/layouts/shortcodes/perf-chart.html +++ b/layouts/shortcodes/perf-chart.html @@ -7,7 +7,7 @@ {{- $stacked := ne $stackedRaw "false" -}} {{/* Load chart configuration */}} -{{- $config := site.Data.chart_presets -}} +{{- $config := hugo.Data.chart_presets -}} {{- $defaults := $config.defaults -}} {{- $colors := $config.colors -}} |
