Nayananga commented on a change in pull request #163: Pr/algolia search
URL: https://github.com/apache/camel-website/pull/163#discussion_r387161255
##########
File path: antora-ui-camel/src/partials/footer-scripts.hbs
##########
@@ -1,5 +1,6 @@
<script src="{{uiRootPath}}{{asset 'js/site.js'}}"></script>
<script async src="{{uiRootPath}}{{asset 'js/vendor/highlight.js'}}"></script>
<script async src="{{uiRootPath}}{{asset
'js/vendor/svg4everybody.js'}}"></script>
+<script async
src="https://cdn.jsdelivr.net/npm/algoliasearch@4/dist/algoliasearch-lite.umd.js"></script>
Review comment:
@djencks Thanks for the suggestion, I was able to go half way through in
that way by renaming the script, but then it gave me an error
> window.algoliasearch is not a function.
So I had to copy 06-search.js into the algoliasearch.bundle.js (which I`ve
commited just now) now it works fine :)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services