mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-11-24 11:07:14 +00:00
added 'autofocus' to search page
Added 'autofocus' attribute to automatically select the search input form upon page load (eliminates the need to 'click' in the input field before typing the search term).
This commit is contained in:
parent
1a389c9f3f
commit
83f393b900
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ sitemap: false
|
||||||
<!-- Search form -->
|
<!-- Search form -->
|
||||||
<form method="get" action="{{ site.url }}/search/" data-search-form class="simple-search">
|
<form method="get" action="{{ site.url }}/search/" data-search-form class="simple-search">
|
||||||
<label for="q">Search {{ site.title }} for:</label>
|
<label for="q">Search {{ site.title }} for:</label>
|
||||||
<input type="search" name="q" id="q" placeholder="What are you looking for?" data-search-input id="goog-wm-qt" />
|
<input type="search" name="q" id="q" placeholder="What are you looking for?" data-search-input id="goog-wm-qt" autofocus />
|
||||||
<input type="submit" value="Search" id="goog-wm-sb" />
|
<input type="submit" value="Search" id="goog-wm-sb" />
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
@ -28,4 +28,4 @@ sitemap: false
|
||||||
<li><article>
|
<li><article>
|
||||||
<a href="##Url##">##Title## <span class="excerpt">##Excerpt##</span></a>
|
<a href="##Url##">##Title## <span class="excerpt">##Excerpt##</span></a>
|
||||||
</article></li>
|
</article></li>
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue