Release v0.2.1 (#274)

This commit is contained in:
Dillon
2020-04-29 02:43:29 +08:00
committed by GitHub
parent e71b373f6d
commit 140a3c9de6
30 changed files with 191 additions and 93 deletions

View File

@@ -3,4 +3,4 @@
{{- $width := cond .IsNamedParams (.Get "width") (.Get 0) | default "100%" -}}
{{- $height := cond .IsNamedParams (.Get "height") (.Get 1) | default "30rem" -}}
<div class="echarts" id="{{ $id }}" style="width: {{ $width }}; height: {{ $height }};"></div>
{{- dict "echarts" true | merge (.Page.Scratch.Get "this") | .Page.Scratch.Set "this" -}}
{{- .Page.Scratch.SetInMap "this" "echarts" true -}}