mirror of
https://gitee.com/SuperManito/LinuxMirrors
synced 2026-05-08 12:05:26 +08:00
更新文档
This commit is contained in:
11
docs/theme/partials/header.html
vendored
11
docs/theme/partials/header.html
vendored
@@ -66,6 +66,17 @@
|
||||
{% include "partials/javascripts/palette.html" %}
|
||||
{% endif %}
|
||||
|
||||
{% if "material/search" in config.plugins %}
|
||||
{% set search = config.plugins["material/search"] | attr("config") %}
|
||||
{% if search.enabled %}
|
||||
<label class="md-header__button md-icon hide-button" onclick="OpenAlgoliaSearchComponent()">
|
||||
{% set icon = config.theme.icon.search or "octicons/search-16" %}
|
||||
{% include ".icons/" ~ icon ~ ".svg" %}
|
||||
</label>
|
||||
{% include "partials/search.html" %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if config.repo_url %}
|
||||
<div class="md-header__source">
|
||||
{% include "partials/source.html" %}
|
||||
|
||||
Reference in New Issue
Block a user