Commit graph

10 commits

Author SHA1 Message Date
Nick Garlis 3fb63f302d Minimize JSON data (#1449)
* Remove Lunr trimmer & bring back colons

* Add Greek Stemmer

* Translate search_placeholder_text and results_found to Greek

* Minimize JSON data

* Truncate Words

* Move store variable into a new file

* Move Lunr files into a new folder

* Add defer to lunr scripts

* Add search_full_content switch
2018-01-04 20:22:33 -05:00
Nick Garlis 6fe3b9cd1c Add lunr-gr.js and fix lunr-en.js (#1445)
* Remove Lunr trimmer & bring back colons
* Add Greek Stemmer
* Translate `search_placeholder_text` and `results_found` to Greek
2018-01-03 12:44:37 -05:00
Nick Garlis 7e6a46c447 Update Lunr (#1419)
* Update Lunr to 2.1.5
* Remove colons from query string

Fixes #1419
2017-12-28 13:56:10 -05:00
Michael Rose 7eb00bbd61
Feature: Incorporate site search into masthead (#1383)
* Integrate search into masthead
* Fix cutoff descenders in archive article titles
* Remove search page from `/test` site
* Enable masthead search
* Remove dedicated search page
* Fix masthead search form padding
* Improve insertion of search content
* Speed up page transition
* Add fade transition to search content
* Rename visibility class names
* Add `site.search` to _config.yml
* Document site search feature
* Update CHANGELOG and history
2017-12-07 08:56:14 -05:00
Michael Rose 7b3ddfefdf Simplify search: true conditionals
Replace `unless` tags with `where_exp` to test if `search: false`.
2017-11-28 09:30:33 -05:00
Nick Garlis 599712ed58 Add option to search in specific collections (#1369) 2017-11-28 08:40:12 -05:00
Louis Matthijssen 0841d49653 Fix lunar-en.js layout (#1356)
Without layout set to null a HTML template will be rendered around the
JavaScript, causing an error while loading the file in the browser.
2017-11-20 15:03:51 -05:00
Nick Garlis fa3647172d 🔧 mistake in excerpt (#1354) 2017-11-20 15:00:07 -05:00
Michael Rose 19f6d32745 Replace hardcoded text with strings stored in _data file 2017-11-15 15:50:29 -05:00
Nick Garlis cc3b21bc86 Add Lunr Search (#1353)
* Add `search.html` layout and JavaScript
* Move `{{ content }}` before search input
* Add spaces for consistency

Close #1011
2017-11-15 14:43:31 -05:00