mirror of
https://github.com/metagov/govarch-website.git
synced 2025-06-18 17:14:15 +00:00
improve accessibility and add search form
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
{% assign menu = site.data.menu %}
|
||||
|
||||
{% if menu %}
|
||||
<nav class="site-navigation">
|
||||
<nav class="site-navigation" role="navigation">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="{{ '/' | prepend: site.baseurl }}">
|
||||
|
8
_includes/search.html
Normal file
8
_includes/search.html
Normal file
@ -0,0 +1,8 @@
|
||||
<form method="get" id="search" action="https://duckduckgo.com/">
|
||||
<input type="hidden" name="sites" value="{{ site.url }}"/>
|
||||
<input type="hidden" name="k8" value="#222222"/>
|
||||
<input type="hidden" name="k9" value="#dc4b3c"/>
|
||||
<input type="hidden" name="kt" value="h"/>
|
||||
<input type="text" id="search__input" name="q" placeholder="Search…"/ autocomplete="off">
|
||||
<button type="submit" class="btn btn-bordered" tabindex="-1">Search</button>
|
||||
</form>
|
Reference in New Issue
Block a user