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-raw.html')
-rw-r--r--layouts/shortcodes/chart-generate-raw.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/shortcodes/chart-generate-raw.html b/layouts/shortcodes/chart-generate-raw.html
new file mode 100644
index 0000000..368ce86
--- /dev/null
+++ b/layouts/shortcodes/chart-generate-raw.html
@@ -0,0 +1,5 @@
+<script>
+var chart = c3.generate({
+{{ .Get "raw" }}
+});
+</script>