Commit graph

12 commits

Author SHA1 Message Date
FavorMylikes 03a26a105d
Update algolia-search-scripts.html (#3102)
Fix issue https://github.com/mmistakes/minimal-mistakes/issues/3101
2022-05-27 12:22:43 -04:00
Lars Olesen f9b17c6249
Add role to search (#3086) 2021-08-08 13:43:31 -04:00
Marcin Pietraszek 28edd82198
Algolia search update (#2572)
* Search on menu toggle

With that change search is performed when requested. Before it was done
for each pageview, regardless of the fact if search was used by user or
not.

* Localize algolia's empty template
2020-07-22 15:34:53 -04:00
Jim Drury af772af56f Fixes aria issues on search form (#2211)
* Fixes aria issues on search form
* Swapping aria-label for <label> tag in search
* Removing background gray caused by adding <form> tag to search
* Removing redundant space
* Making form not submit if key is enter

Close #2180
2019-07-17 16:05:50 -04:00
Denver Prophit Jr 3f1f7da5c8 Improve search input semantics (#2123)
* Update search_form.html

Updates Issue #2122 by adding the correct input type and aria label.

* update search_form.html

should be area-placeholder. My mistake. Updates Issue #2122

* fix aria-placeholder

Updates issue #2123 with a typo found by @mmistakes for liquid syntax.

Close #2122
2019-04-09 21:20:35 -04:00
Eric Fung f4f6e32cc3 Fix function name for Google Custom Search (#1983)
fbafe58e40b1bd4a2628aef1eb5955ab57dcfaf4 renamed the function in the
scripts file, but did not rename the call sites.
2018-12-03 08:38:33 -05:00
Justin Rummel 82e9aee6a8 Change remaining schema.org markup to https (#1978) 2018-11-27 09:07:51 -05:00
Christian Oliff 2f1b8f3321 Update algolia-search-scripts.html (#1836)
not needed for HTML5 and saves a few bytes by removing
2018-09-16 18:18:46 -04:00
Michael Rose 9b17ac9856 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2018-05-15 14:46:03 -04:00
user414 3a817c2bdb Implement feature #1652 google custom search support. (#1667)
Implement feature #1652 google custom search support. For now we only support the look and feel "results only" and the engine must be set to use that layout. Add a google section to the search providers and search_form and search layout.

Close #1652
2018-05-15 14:42:10 -04:00
Michael Rose c8226a32a6 Replace absolute_url with relative_url
Where it makes sense replace asset paths and navigation related paths with `relative_url` filter.

Leave SEO related `<head>` elements and social sharing links as `absolute_url`.

Fixes #1588
2018-03-20 11:35:36 -04:00
Michael Rose acdd3443de
Add Algolia search provider (#1531)
* Support Lunr and Algolia search providers
* Document search providers and configuration
* Update CHANGELOG and history

close #1416
2018-02-16 14:20:42 -05:00