aboutsummaryrefslogtreecommitdiff
path: root/layouts/shortcodes/perf-chart.html
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2025-10-06 10:00:18 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2025-10-06 10:00:18 +0200
commit2ea63cf9f2b5739245e6b91033f9e41fea6a3971 (patch)
tree740e2fc7c0179c030f88a8fc4ebea8bc7ac8fbcb /layouts/shortcodes/perf-chart.html
parent6573a54c50738e455b2b0d4863498b916046a466 (diff)
Deploy new post
Diffstat (limited to 'layouts/shortcodes/perf-chart.html')
-rw-r--r--layouts/shortcodes/perf-chart.html2
1 files changed, 1 insertions, 1 deletions
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 -}}