aboutsummaryrefslogtreecommitdiff
path: root/layouts/shortcodes
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes')
-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 -}}