mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-12-25 17:08:48 -05:00
2c1ec7434b
By leaving 'simple_search' parameter blank in the _config.yml file, the search form in the navigation.html include is omitted. This lets you put your own custom search form in the custom/navigation.html file.
16 lines
705 B
HTML
16 lines
705 B
HTML
<ul class="subscription" data-subscription="rss{% if site.subscribe_email %} email{% endif %}">
|
|
<li><a href="{{ site.subscribe_rss }}" rel="subscribe-rss" title="subscribe via RSS">RSS</a></li>
|
|
{% if site.subscribe_email %}
|
|
<li><a href="{{ site.subscribe_email }}" rel="subscribe-email" title="subscribe via email">Email</a></li>
|
|
{% endif %}
|
|
</ul>
|
|
{% if site.simple_search %}
|
|
<form action="{{ site.simple_search }}" method="get">
|
|
<fieldset role="search">
|
|
<input type="hidden" name="q" value="site:{{ site.url | shorthand_url }}" />
|
|
<input class="search" type="text" name="q" results="0" placeholder="Search"/>
|
|
</fieldset>
|
|
</form>
|
|
{% endif %}
|
|
{% include custom/navigation.html %}
|