Open r0ckarong opened 7 years ago
Until some recent change which I can not fathom the search result would look like that.
there have not been significant changes to this package since 2014, are you sure its a problem with the code in this package?
That is what I'm trying to debug. Suddenly the titles recorded into jssearch index no longer contain the longer notation with the pipes. Where does the indexer grab the title from and how is it processed?
have you added <h1>
tags that were not present before?
I did actually convert a previously h2
into an h1. So it takes the text from the first h1 it finds over the HTML <title>
tag from what I can read? This would explain it.
Ok yeah that was the cause. Ideally could you add an option to pass with the script that allows me to select if the first h1 or the actual
I can add it but I do not have time for it right now. If you want to have it earlier I am happy to accept a pull request.
My page titles are build like
Product Version | Section | Topic
Until some recent change which I can not fathom the search result would look like that. Now the search result is only "Topic".
I'm trying to find out if your indexer does something different.
My implementation looks like this, pretty much the reference from your instructions:
Script insertion in the actual page template
I've also updated to 0.9.3 and I see the same behavior.