Chart.jsを参照するようテンプレートを修正

This commit is contained in:
Kazuhiro MUSASHI 2020-06-13 12:37:21 +07:00 committed by Gitea
parent a374d6c011
commit 54a98e15d0
1 changed files with 8 additions and 0 deletions

View File

@ -36,6 +36,10 @@
-->
</style>
{{ end }}
{{ if .Params.chart }}
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.min.css" />
{{ end }}
<!-- RSS
-->
@ -53,6 +57,10 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/topojson/3.0.0/topojson.min.js"></script>
{{ end }}
{{ if .Params.chart }}
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.bundle.min.js"></script>
{{ end }}
<!-- OGP Settings -->
<meta property="fb:app_id" content="951084758293113" />
{{template "_internal/opengraph.html" . }}