🔧 🌱 Complete the local search feature.

This commit is contained in:
凡梦星尘
2022-07-31 11:02:55 +08:00
parent 6cbffe48b7
commit 9a4883832f
14 changed files with 465 additions and 117 deletions

View File

@@ -0,0 +1,11 @@
{{- if or .Site.Params.algoliaSearch.enable .Site.Params.localSearch.enable }}
<div class="search-pop-overlay">
<div class="popup search-popup">
{{- if .Site.Params.algoliaSearch.enable }}
{{ partial "_thirdparty/search/algolia.html" . }}
{{- else if .Site.Params.localSearch.enable }}
{{ partial "_thirdparty/search/local.html" . }}
{{- end }}
</div>
</div>
{{- end }}