15 Commits (5e3b7c54e7263f3d3ab659b35302489d161a5392)

Author SHA1 Message Date
Luke Smith 5e3b7c54e7 show only most recent if not searching, visibility 2 years ago
dosisod 4f17b3d901 Replace "style=display:none" with HTML data tags:
When storing metadata in an HTML node, you can use data attributes, which is
more declarative, and doesn't require rendering an invisible node.

See: https://developer.mozilla.org/en-US/docs/Learn/HTML/Howto/Use_data_attributes
2 years ago
augusto 0124077e9d
clean up again & just compute searchText.split(" ") once (#805) 2 years ago
Luke Smith 543658ab7a Merge branch 'master' of https://github.com/Hrafven/based.cooking into Hrafven-master 2 years ago
augusto e552f2ee71
clean up js (#801)
* clean up javascript
* set element id instead of class on the `clear-search` button
2 years ago
Hugo Bidois 582ff71117
trim whitespace in searchString 2 years ago
Hugo Bidois 6519daeaef
add support for multiterm search 2 years ago
Arya K c194763386
Add Javascript Weblabels for search (#798)
This commit makes based.cooking's search compatible with GNU LibreJS

Co-authored-by: Arya Kiran <aryak@vern.cc>
2 years ago
Luke Smith 71c3eac725 no styling in noscript, fix #788 2 years ago
Luke Smith a98188000e allow descriptions in metadata, etc 2 years ago
Luke Smith a36480dd59
tweaks 2 years ago
Luke Smith e6727fbfe9
if js disabled, hide search bar 2 years ago
Luke Smith 95133388ea
textContent replaces innerText 2 years ago
Luke Smith b7f117cf4c
Filter Articles with a Javascript Search (#772)
* for lugo changes

* quick search through recipes

* Update content/_index.md

Co-authored-by: Steven Hall <Hallzy.18@gmail.com>

* Update content/_index.md

Co-authored-by: Steven Hall <Hallzy.18@gmail.com>

* when searching, list one column, big results

* Update content/_index.md

Co-authored-by: Steven Hall <Hallzy.18@gmail.com>

* Update content/_index.md

Co-authored-by: Steven Hall <Hallzy.18@gmail.com>

* Update content/_index.md

Co-authored-by: Steven Hall <Hallzy.18@gmail.com>

* change for my naming

* remove for fix

* redundant

* hide tags in items so search sees tags

* last superficial changes

Co-authored-by: Steven Hall <Hallzy.18@gmail.com>
2 years ago
Luke Smith 5d1f06baf0
index changes with shorcodes instead 2 years ago