diff options
author | Zane C. Bowers-Hadley <vvelox@vvelox.net> | 2018-09-24 09:47:01 +0300 |
---|---|---|
committer | Zane C. Bowers-Hadley <vvelox@vvelox.net> | 2018-09-24 09:47:01 +0300 |
commit | c7921fbd88d299c17317c2a7fe4bad72f6bb36d6 (patch) | |
tree | 95421d1da8fdb8613f526a3a4b1878b41857f372 | |
parent | 9b06da7aaa66a6691f5a2a182a3d4d00257888e8 (diff) |
remove - from variable names
-rw-r--r-- | layouts/shortcodes/chart-generate.html | 8 |
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: '{{.}}' |