Commit graph

101 commits

Author SHA1 Message Date
Erik Demaine
1b7e8335fe Fix scrollspy on link clicking, and # for top of page (#2023) 2019-01-15 08:08:41 -05:00
Erik Demaine
04e1614184 Define $active-color in terms of $primary-color 2019-01-04 15:46:01 -05:00
Erik Demaine
6990f8fcc9 Use jQuery throttle library 2019-01-04 12:57:33 -05:00
Erik Demaine
f2f580101e Scrollspy-style updating of hash and TOC highlighting 2019-01-04 12:45:04 -05:00
Erik Demaine
33551c8cdb Clicking TOC links changes hash fragment (#2019)
* Fix smooth scroll breaking back button #1767
* Change URL's hash fragment when clicking on TOC
* Switch from hashchange to popstate event handler

This seems to have better behavior with the Forward button, on page load,
and always scrolls in the right direction.

Close #1767
2019-01-04 12:31:38 -05:00
Michael Rose
9232a38f2a Release 4.14.2 💎 2019-01-01 19:13:16 -05:00
Justin Rummel
f27bd39a41 lunr 2.3.5 update (#2010) 2019-01-01 17:05:06 -05:00
Justin Rummel
82e9aee6a8 Change remaining schema.org markup to https (#1978) 2018-11-27 09:07:51 -05:00
Michael Rose
763d1c1bb5 Release 4.14.1 gem 2018-11-26 08:17:49 -05:00
Michael Rose
ed09740b42 Release 4.14.0 💎 2018-11-25 23:02:49 -05:00
Justin Rummel
e665944f26 Update LUNR to 2.3.3 (#1885)
Close #1882
2018-10-09 14:48:51 -04:00
Ben McGough
05d296c247 Fix Lunr search index merging words (#1884)
Close #1883
2018-10-09 13:54:36 -04:00
Michael Rose
2f40bb6403 Release 4.13.0 💎 2018-09-10 19:38:50 -04:00
Michael Rose
b0ff6ef4c6 Release 4.12.2 💎 2018-09-02 12:18:51 -04:00
Michael Rose
7760108601 Release 4.12.1 💎 2018-08-07 22:59:46 -04:00
Michael Rose
ae99717eb6 Release 4.12.0 💎 2018-06-22 15:16:17 -04:00
Michael Rose
f4ffaa2aeb Release 4.11.2 💎 2018-05-03 19:32:48 -04:00
Michael Rose
1ab092bcd4 Release 4.11.1 💎 2018-03-20 17:30:07 -04:00
Michael Rose
5e60d2d3c5 Fix search excerpts that run together 2018-03-20 11:48:30 -04:00
Michael Rose
7239604922 Release 4.10.1 💎 2018-03-12 19:32:55 -04:00
Michael Rose
73d82964a2 Update jQuery to v3.3.1
Close #1491
2018-02-16 15:19:01 -05:00
Michael Rose
356c1eb093 Focus Algolia search input 2018-02-16 15:12:57 -05:00
Michael Rose
ba9079041b Release 4.10.0 💎 2018-02-16 14:27:49 -05:00
Michael Rose
b9d9dc11bf Release 4.9.1 💎 2018-02-05 14:41:43 -05:00
Michael Rose
527d187e82 Replace hardcoded 10 with actual button width 2018-01-10 11:45:35 -05:00
Michael Rose
046d93d05b Add copyright and version back 2018-01-10 11:17:50 -05:00
Michael Rose
f349dff2ee Minify lunr.js 2018-01-10 11:14:59 -05:00
Michael Rose
eaf50acea6 Release 4.9.0 💎 2018-01-04 22:52:11 -05:00
Michael Rose
267d2c96a0 Reduce white-space to trim down filesize 2018-01-04 20:52:01 -05:00
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
Michael Rose
e2b50a355f Fix stuck sidebar when resizing viewport
Close #1447
2018-01-03 14:20:41 -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
Michael Rose
df61273db7 Release 4.8.1 💎 2017-12-28 14:10:48 -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
c2d9791a9b Release 4.8.0 💎 2017-12-07 10:28:54 -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
Michael Rose
e09753fa0a Release 4.7.0 💎 2017-11-06 20:22:30 -05:00
Michael Rose
8dcd353e90 Release 4.6.0 💎 2017-09-12 14:59:06 -04:00
Michael Rose
58b8cf8416 Add pre to version 2017-09-12 13:01:45 -04:00
Michael Rose
1570e85fb1 Update Magnific Popup to v1.1.0 2017-09-12 12:54:17 -04:00
Michael Rose
7845654225 Update jQuery Smooth Scroll to v2.2.0 2017-09-12 12:48:59 -04:00
Michael Rose
38c2bdbfd8 Update jQuery
Theme targets IE9+ allowing for using the newer/smaller version
2017-09-12 12:42:52 -04:00
Michael Rose
dc47f82af2 Bump 💎 to 4.5.2 2017-09-06 15:14:15 -04:00
Michael Rose
1629f0e4a7 Bump 💎 to 4.5.1 2017-08-18 15:19:24 -04:00