blog/themes/hugo-uno/layouts/shortcodes/chart.html

8 lines
242 B
HTML
Raw Normal View History

2016-08-22 00:12:29 -04:00
<div>
<canvas id="{{ .Get "id"}}" width="{{ .Get "width" }}" height="{{ .Get "height" }}"></canvas>
{{ if .Get "js" }}
<script src="{{ .Get "js" }}"></script>
<script src="../../js/Chart.min.js"></script>
{{ end }}
</div>