mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-24 07:46:25 +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" -}}
|