Hi,
I know very little about javascript. I can't copy/paste and understand basic grammar, so I deduced that the configuration I need is this:
new PagefindUI({
element: "#search",
showImages: false,
excerptLength: 12,
resetStyles: false
});
But otherwise I don't know where to put this. I thought it would be in "pagefind.js", I wrote it as such at the end of the file, but then it does nothing. Also I am bothered, could this be written in a config file instead ? Because if it's under pagefind/, everytime I redo the indexing -by running npx pagefind, those modifications will be erased, am I right ?
Thanks.