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:
authorZane C. Bowers-Hadley <vvelox@vvelox.net>2018-09-24 09:47:01 +0300
committerZane C. Bowers-Hadley <vvelox@vvelox.net>2018-09-24 09:47:01 +0300
commitc7921fbd88d299c17317c2a7fe4bad72f6bb36d6 (patch)
tree95421d1da8fdb8613f526a3a4b1878b41857f372
parent9b06da7aaa66a6691f5a2a182a3d4d00257888e8 (diff)
remove - from variable names
-rw-r--r--layouts/shortcodes/chart-generate.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/shortcodes/chart-generate.html b/layouts/shortcodes/chart-generate.html
index d6d7746..60f5574 100644
--- a/layouts/shortcodes/chart-generate.html
+++ b/layouts/shortcodes/chart-generate.html
@@ -8,19 +8,19 @@ var chart = c3.generate({
url: '{{ .Get "url" }}',
type: '{{ .Get "type" }}'
}
- {{ if (or ( isset .x-label )(or ( isset .y-label )( .y2-label ))) }}
+ {{ if (or ( isset .xLabel )(or ( isset .yLabel )( .y2Label ))) }}
,axis: {
- {{ with .x-label }}
+ {{ with .xLabel }}
x: {
label: '{{.}}'
}
{{ end }}
- {{ if isset .y-label }},{{end}}
+ {{ if isset .yLabel }},{{end}}
{{ with .y-label }}
x: {
label: '{{.}}'
}
- {{ if isset .y2-label }},{{end}}
+ {{ if isset .y2Label }},{{end}}
{{ with .y2-label }}
x: {
label: '{{.}}'