mirror of
https://github.com/torproject/support.git
synced 2024-11-23 17:29:43 +00:00
Add DuckDuckGo search bar
This commit is contained in:
parent
8056927e39
commit
35a351c7d3
@ -24,7 +24,7 @@
|
||||
{% elif this.term %}
|
||||
<h1 class="display-4 no-border font-weight-light pt-5 pb-4">{{ this.term }}</h1>
|
||||
{% endif %}
|
||||
<!-- {% include 'search.html' %} -->
|
||||
{% include 'search.html' %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="container-fluid">
|
||||
|
@ -1,8 +1,9 @@
|
||||
<div class="row">
|
||||
<form class="form-inline form-wide justify-content-md-center" id="searchForm" action="https://search.onionlab.eu/support-staging/{{ this.alt }}" method="GET">
|
||||
<form class="form-inline form-wide justify-content-md-center" id="searchForm" action="https://duckduckgo.com/" method="GET">
|
||||
<div class="col-md-4 col-sm-12">
|
||||
<div class="col-12 input-group p-0">
|
||||
<input id="q" class="form-control form-wide rounded-left border-0" type="text" name="q" placeholder="{{ _('Search') }} .." aria-label="{{ _('Search') }}">
|
||||
<input id="q" class="form-control form-wide rounded-left border-0" type="text" name="q" placeholder="{{ _('Search using DuckDuckGo') }} ..." aria-label="{{ _('Search') }}">
|
||||
<input type="hidden" name="sites" value="support.torproject.org/{{ this.alt }}">
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-light" type="submit"><span class="oi oi-magnifying-glass text-secondary"></span></button>
|
||||
</span>
|
||||
|
Loading…
Reference in New Issue
Block a user