search.html 591 B

1234567891011121314151617
  1. {{ if default true .Site.Params.geekdocSearch }}
  2. <div class="gdoc-search flex align-center">
  3. <svg class="gdoc-icon gdoc_search"><use xlink:href="#gdoc_search"></use></svg>
  4. <input
  5. type="text"
  6. id="gdoc-search-input"
  7. class="gdoc-search__input"
  8. placeholder="{{ i18n "form_placeholder_search" }}..."
  9. aria-label="{{ i18n "form_placeholder_search" }}"
  10. maxlength="64"
  11. data-site-base-url="{{ "" | absURL }}"
  12. data-site-lang="{{ .Site.Language.Lang }}"
  13. />
  14. <ul id="gdoc-search-results" class="gdoc-search__list"></ul>
  15. </div>
  16. {{ end }}