Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/VVelox/hugo-dusky-neon-potato.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes/chart-generate.html')
-rw-r--r--layouts/shortcodes/chart-generate.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/shortcodes/chart-generate.html b/layouts/shortcodes/chart-generate.html
index 60f5574..b6b663b 100644
--- a/layouts/shortcodes/chart-generate.html
+++ b/layouts/shortcodes/chart-generate.html
@@ -16,12 +16,12 @@ var chart = c3.generate({
}
{{ end }}
{{ if isset .yLabel }},{{end}}
- {{ with .y-label }}
+ {{ with .yLabel }}
x: {
label: '{{.}}'
}
{{ if isset .y2Label }},{{end}}
- {{ with .y2-label }}
+ {{ with .y2Label }}
x: {
label: '{{.}}'
}