20 lines
1.1 KiB
HTML
20 lines
1.1 KiB
HTML
|
<section class="pl-6 mt-6 w-full max-w-4xl lg:max-w-5xl">
|
||
|
<form class="" action={{ relLangURL "search/" }} method="get">
|
||
|
<div class="flex">
|
||
|
<input type="text" name="search" id="search-input" required placeholder="{{ T "search.placeholder" }}" class="rounded-none rounded-s-lg border border-gray-300 text-slate-800 focus:outline-none focus:ring-blue-500 focus:border-blue-500 block flex-1 min-w-0 w-full text-sm p-3 dark:bg-slate-700 dark:border-slate-600 dark:placeholder-slate-400 dark:text-slate-200 dark:focus:ring-blue-500 dark:focus:border-blue-500">
|
||
|
<button class="inline-flex items-center px-3 text-sm text-slate-900 bg-slate-200 border border-e-0 border-gray-300 rounded-e-lg dark:bg-slate-600 dark:text-slate-400 dark:border-slate-600">
|
||
|
<i class="h-6 w-6 flex-none">
|
||
|
{{ partial "icon.html" "search" }}
|
||
|
</i>
|
||
|
</button>
|
||
|
</div>
|
||
|
</form>
|
||
|
</section>
|
||
|
|
||
|
{{ range $taxonomy, $terms := site.Taxonomies }}
|
||
|
{{ if $terms }}
|
||
|
{{- $limit := site.Params.sidebar.limit | default 10 -}}
|
||
|
{{ partial "block/sidebar_section.html" (dict "Context" $terms "Taxonomy" $taxonomy "Limit" $limit) }}
|
||
|
{{ end }}
|
||
|
{{ end }}
|