1
0
mirror of https://github.com/thangisme/notes.git synced 2024-06-09 10:11:09 +00:00
Commit Graph

23 Commits

Author SHA1 Message Date
Ben Goldhaber
c8a8ce3314
Fix trailing comma bug in search-data.json
If you exclude the last page in the site.html_pages through exclude_true you end up violating the assumption in the for loop that the last page won't have a trailing comma. This breaks the json data that is served to the front end.

I removed the forloop.last check and instead assign a temporary variable to check for the first non-excluded page, and then add the comma before the next non-excluded entry.
2019-06-04 18:02:56 -07:00
Joe Nyland
839cf91428
Remove unnecessary console.log() 2019-03-15 08:20:21 +00:00
Patrick Marsceill
b77d22cf2e
Merge pull request #81 from ilivewithian/patch-1
Bug: Can now show single search result.
2019-02-02 11:31:37 -08:00
Patrick Marsceill
c9e4284754
Merge pull request #65 from stephenedmondson/master
search-data path fix
2019-02-02 11:22:53 -08:00
Rob White
5b8ff78bb6
Bug: Can now show single search result. 2019-01-29 13:39:20 +00:00
EricFromCanada
60c82cb518 Allow for ampersand in title or URL
Because `page.title` (and `page.url`) is already escaped and page titles served by lunrjs do not need escaping, ampersands need to be unescaped to display properly in search results.
2019-01-16 00:31:30 -05:00
EricFromCanada
9a4ea76957 Improve search content generator 2019-01-15 22:54:30 -05:00
EricFromCanada
793ea356c3 Use unless loop for comma
and mention `search_exclude`
2019-01-15 20:48:52 -05:00
Stephen Edmondson
d7b1adb8c7 search-data path fix 2019-01-11 12:41:00 -06:00
Patrick Marsceill
f17700afe3
Better search index 2019-01-06 15:51:17 -05:00
Patrick Marsceill
954e8941bb
Accidental reversal 2018-12-16 15:23:33 -05:00
Patrick Marsceill
eaf1247911
Auto focus main content for keyboard scrolling 2018-12-16 15:22:51 -05:00
Patrick Marsceill
eb0a6c328f
Allow pages to be excluded from search 2018-12-16 14:47:41 -05:00
Patrick Marsceill
d11e332dc6
Create condition for no search and add config/css 2018-11-16 11:46:43 -05:00
Patrick Marsceill
62c7ac4729
Add done after creating content 2018-10-23 13:09:23 -04:00
Patrick Marsceill
25cd289df5
Fix pathing issues with gh-pages 2018-10-23 12:51:11 -04:00
Patrick Marsceill
d3e231648f
Show / hide search with mobile nav 2018-10-23 11:41:25 -04:00
Patrick Marsceill
be0d00cb2a
getting this on GH 2017-11-08 11:23:05 -05:00
Patrick Marsceill
76d8f0c50c
I forget 2017-06-04 17:50:01 -04:00
Patrick Marsceill
f7da9a9dd9
final shit for release 2017-04-08 18:51:14 -04:00
Patrick Marsceill
e581397758
Initial commit 2017-03-26 21:09:19 -04:00
Patrick Marsceill
594385ae7b
initial commit 2017-03-24 09:47:37 -04:00
Patrick Marsceill
b7b0d0d7bf
Initial commit 2017-03-09 13:16:08 -05:00