diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-10-06 10:00:18 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-10-06 10:00:18 +0200 |
| commit | 2ea63cf9f2b5739245e6b91033f9e41fea6a3971 (patch) | |
| tree | 740e2fc7c0179c030f88a8fc4ebea8bc7ac8fbcb /layouts | |
| parent | 6573a54c50738e455b2b0d4863498b916046a466 (diff) | |
Deploy new post
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/shortcodes/perf-chart.html | 2 |
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 -}} |
