chore(forkawesome): update forkawesome css

This commit is contained in:
Dillon
2020-02-17 21:02:27 +08:00
parent 30747ca190
commit 933e32c4e4
22 changed files with 845 additions and 335 deletions

View File

@@ -1,10 +1,4 @@
<!-- shuffle md5 as id -->
{{- $id := delimit (split (md5 .Inner) "" | shuffle) "" | printf "echarts-%s" -}}
{{- $echartsMap := .Page.Scratch.Get "echartsMap" -}}
{{- if $echartsMap -}}
{{ $echartsMap = .Inner | printf "{%s}" | dict $id | merge $echartsMap -}}
{{- else -}}
{{ $echartsMap = .Inner | printf "{%s}" | dict $id -}}
{{- end -}}
{{- .Page.Scratch.Set "echartsMap" $echartsMap -}}
<div class="echarts" id="{{ $id }}"></div>
{{- .Page.Scratch.SetInMap "echartsMap" $id (printf "{%s}" .Inner) -}}