feat(search): add more params for search and improve search index (#279)
This commit is contained in:
@@ -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 -}}
|
||||
|
||||
Reference in New Issue
Block a user