mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-12-04 22:15:08 +01:00
7 lines
284 B
HTML
7 lines
284 B
HTML
|
{{- $scratch := .Page.Scratch.Get "scratch" -}}
|
||
|
|
||
|
{{- $content := .Inner | transform.Unmarshal | jsonify -}}
|
||
|
{{- $id := partial "function/id.html" (dict "content" $content "scratch" $scratch) -}}
|
||
|
<div class="echarts" id="{{ $id }}"></div>
|
||
|
{{- slice $id | $scratch.Add "echartsArr" -}}
|