mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 12:14:26 +00:00
Hide the navbar search box on the Search page
This commit is contained in:
parent
fbc2fcb3e2
commit
1456a496f0
3
doc/_templates/layout.html
vendored
3
doc/_templates/layout.html
vendored
@ -44,6 +44,8 @@
|
|||||||
{%endif%}
|
{%endif%}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
{% if pagename != 'search' %}
|
||||||
|
<!-- TODO: use the same form on the Search page -->
|
||||||
<form class="navbar-form navbar-right" role="search" action="{{ pathto('search') }}" method="get">
|
<form class="navbar-form navbar-right" role="search" action="{{ pathto('search') }}" method="get">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<input type="text" name="q" class="form-control" placeholder="Search">
|
<input type="text" name="q" class="form-control" placeholder="Search">
|
||||||
@ -51,6 +53,7 @@
|
|||||||
<input type="hidden" name="area" value="default" />
|
<input type="hidden" name="area" value="default" />
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
{%endif%}
|
||||||
</div> <!-- /.navbar-collapse -->
|
</div> <!-- /.navbar-collapse -->
|
||||||
</div> <!-- /.col-md-offset-2 -->
|
</div> <!-- /.col-md-offset-2 -->
|
||||||
</div> <!-- /.row -->
|
</div> <!-- /.row -->
|
||||||
|
Loading…
Reference in New Issue
Block a user