Added theme back properly
This commit is contained in:
7
themes/hugo-uno/layouts/shortcodes/chart.html
Normal file
7
themes/hugo-uno/layouts/shortcodes/chart.html
Normal file
@ -0,0 +1,7 @@
|
||||
<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>
|
Reference in New Issue
Block a user