cleanup js logs
Signed-off-by: weru <fromweru@gmail.com>
| | |
| | | let searchKeys = ['title', 'id', 'link', 'body', 'section']; |
| | | searchKeys = searchKeys.concat(otherSearchableFields); |
| | | |
| | | console.log(searchKeys); |
| | | |
| | | const searchPageElement = elem('#searchpage'); |
| | | |
| | | const searchOptions = { |
| | |
| | | searchField.addEventListener('input', function() { |
| | | const searchTerm = searchField.value.trim().toLowerCase(); |
| | | search(searchTerm, searchScope); |
| | | // console.log(searchTerm); |
| | | }); |
| | | |
| | | if(!searchPageElement) { |
| | |
| | | otherSearchableFields = []; |
| | | } |
| | | |
| | | console.log(otherSearchableFields); |
| | | |
| | | // defined in i18n / translation files |
| | | const quickLinks = '{{ T "quick_links" }}'; |
| | | const searchResultsLabel = '{{ T "search_results_label" }}'; |
| | |
| | | |
| | | go 1.15 |
| | | |
| | | require github.com/onweru/compose v0.0.0-20221229203731-77cbaaa296ce // indirect |
| | | require github.com/onweru/compose v0.0.0-20221230112033-882a2a3d9d3b // indirect |
| | |
| | | github.com/onweru/compose v0.0.0-20220613160631-5be4d7fe9437/go.mod h1:tf1kQIBUcwJ/3mRFU5eiMrMvsDScVTK2IEFsZE3hZOc= |
| | | github.com/onweru/compose v0.0.0-20221229203731-77cbaaa296ce h1:SAap40G3K+QdFacjBWcgfMj7Qyv8T9qXvfAKTGGrMyk= |
| | | github.com/onweru/compose v0.0.0-20221229203731-77cbaaa296ce/go.mod h1:tf1kQIBUcwJ/3mRFU5eiMrMvsDScVTK2IEFsZE3hZOc= |
| | | github.com/onweru/compose v0.0.0-20221230112033-882a2a3d9d3b h1:WDFor/3L6oMz8V+F1WMopxWPw2Cqdak2wA8vRr0Fdkk= |
| | | github.com/onweru/compose v0.0.0-20221230112033-882a2a3d9d3b/go.mod h1:tf1kQIBUcwJ/3mRFU5eiMrMvsDScVTK2IEFsZE3hZOc= |