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
commit 6b1da4c9aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 -}}