mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-02 17:59:36 +07:00
Theme: Allow to remove the search box
This commit is contained in:
@@ -129,10 +129,12 @@
|
||||
<h1><a href="{{ pathto(master_doc) }}">{{ project|e }}</a></h1>
|
||||
</div>
|
||||
<div class="col-md-5 col-md-offset-1">
|
||||
{% if theme_show_search %}
|
||||
<form class="headersearch" style="margin-bottom:-3px;" action="{{ pathto('search') }}" method="get">
|
||||
<input type="text" value="" name="q" id="q" class="form-control" />
|
||||
<button class="btn btn-default" type="submit" id="searchsubmit">Search</button>
|
||||
</form>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% block sidebartoc %}
|
||||
|
||||
@@ -56,3 +56,5 @@ bootswatch_theme = ""
|
||||
# Switch Bootstrap version?
|
||||
# Values: "3" (default) or "2"
|
||||
bootstrap_version = 3
|
||||
|
||||
show_search = true
|
||||
|
||||
Reference in New Issue
Block a user