Commit graph

11 commits

Author SHA1 Message Date
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