Skip to content

Commit

Permalink
fix: update search bar eval in mkdocs (#2547)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelapenya committed May 20, 2024
1 parent 4efa1e7 commit a351a4c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/theme/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,10 @@
{% endif %}

<!-- Button to open search modal -->
{% if "search" in config.plugins %}
{% if "material/search" in config.plugins %}
<label class="md-header__button md-icon" for="__search">
{% include ".icons/material/magnify.svg" %}
{% set icon = config.theme.icon.search or "material/magnify" %}
{% include ".icons/" ~ icon ~ ".svg" %}
</label>

<!-- Search interface -->
Expand Down

0 comments on commit a351a4c

Please sign in to comment.