fix(search): theme.js error when search is disabled (#310)

This commit is contained in:
Dillon
2020-05-03 11:06:10 +08:00
committed by GitHub
parent 971eff815c
commit 09a7c95362
5 changed files with 16 additions and 14 deletions

View File

@@ -10,7 +10,7 @@
{{- end -}}
{{- $params := .Params | merge .Site.Params.page -}}
{{- .Scratch.Set "version" "0.2.4" -}}
{{- .Scratch.Set "version" "0.2.5" -}}
{{- if eq hugo.Environment "production" -}}
{{- .Scratch.Set "cdn" .Site.Params.cdn -}}