Merge pull request #461 from khusika/header-fixes

Use search-dropdown if search is enabled
This commit is contained in:
Dillon
2022-05-02 23:12:15 +08:00
committed by GitHub

View File

@@ -175,9 +175,11 @@
</div>
</div>
</header>
{{- if .Site.Params.search.enable -}}
<div class="search-dropdown desktop">
<div id="search-dropdown-desktop"></div>
</div>
<div class="search-dropdown mobile">
<div id="search-dropdown-mobile"></div>
</div>
{{- end -}}