mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-12-04 14:05:01 +01:00
6 lines
284 B
HTML
6 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" -}}
|