From 2ea63cf9f2b5739245e6b91033f9e41fea6a3971 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Mon, 6 Oct 2025 10:00:18 +0200 Subject: Deploy new post --- layouts/shortcodes/perf-chart.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts') diff --git a/layouts/shortcodes/perf-chart.html b/layouts/shortcodes/perf-chart.html index 8c1734a..c5b30aa 100644 --- a/layouts/shortcodes/perf-chart.html +++ b/layouts/shortcodes/perf-chart.html @@ -20,7 +20,7 @@ {{- $parts := split . ":" -}} {{- if ge (len $parts) 3 -}} {{- $label := index $parts 0 -}} - {{- $preset := index $parts 1 -}} + {{- $colorName := index $parts 1 -}} {{- $valuesStr := index $parts 2 -}} {{- $values := split $valuesStr "," -}} {{- $colorRgb := index $colors $colorName -}} -- cgit v1.3