Commit graph

16 commits

Author SHA1 Message Date
Sören Weber
b5e90f03dd
theme: ensure IE11 compatiblity #89 2021-09-13 21:09:44 +02:00
Helder Pereira
a8cb285899 Improve search logic 2021-08-29 16:13:07 +01:00
Helder Pereira
98ccdc2bd6 Improve search context preview 2021-08-29 16:12:02 +01:00
Helder Pereira
4e08a7b5a4 Make search pages lookup constant time 2021-08-29 16:11:11 +01:00
Helder Pereira
00e6ca63bc Format search.js 2021-08-29 16:03:04 +01:00
Helder Pereira
fa84d305f4 Register focus event in the search text input 2021-08-25 20:48:01 +01:00
Helder Pereira
2edbf2645c Fix search with relativeURLs 2021-08-24 23:36:26 +01:00
Sören Weber
de7b3d8056
theme: remove typos and superflous whitespace 2021-08-23 23:51:52 +02:00
Sandro Gauci
d198cbe65f
fix potential XSS in search (#492)
mostly it looks like a self-XSS but still good to fix
2021-04-01 00:48:33 +01:00
ozobi
18212e6759 Update search.js
fixed indent
2019-04-01 22:31:07 +01:00
ozobi
c5033d3ee6 update js
highlightJS -> https://highlightjs.org/download/ => update with desired languages, default: https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.14.2/highlight.min.js
modernizr -> https://modernizr.com/download/?csstransforms3d-domprefixes-prefixes-setclasses-shiv-testallprops-testprop-teststyles
lunrJS -> https://cdnjs.cloudflare.com/ajax/libs/lunr.js/2.3.5/lunr.min.js
clipboard -> https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js
jquery -> https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js
featherlight -> https://cdnjs.cloudflare.com/ajax/libs/featherlight/1.7.13/featherlight.min.js
search.js -> updated for lunrJS 2.3.5
learn.js -> updated for clipboard
2019-04-01 22:31:07 +01:00
Ryan McGuire
ff5ef7c020 Replace horsey with Pixabay's autocomplete (#75) 2017-09-28 18:47:26 +02:00
matcornic
b2ac8298bf feat: support of Hugo 0.22+ #51 #48 #11 #50 2017-08-20 23:43:44 +02:00
Leclerc Gwendal
656a8b391f fix: add baseUrl to lunr suggestions href 2016-10-26 11:09:28 +02:00
Leclerc Gwendal
4218d1a27d feat: extract search out of header + use baseurl to search json index + add a step to explain how to use lunr-hugo + update perfect-scrollbar 2016-10-25 20:26:19 +02:00
Leclerc Gwendal
363bb68e42 feat: configure lunr, extract inline javascript in search.js and fix horsey popup position 2016-10-25 20:26:19 +02:00