diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-05-26 07:58:36 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-05-26 07:58:36 +0200 |
| commit | ef5e6fd5ec71bb277ca97304ba4f9987aa4d680b (patch) | |
| tree | 5400d529afc2f37cc560768826682fb782670cab /layouts/shortcodes | |
| parent | 85de6369d30ceac6854e9541a479a1bcd22ea7d2 (diff) | |
Fix build warnings
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 -}} |
