Avoiding source URL in search index created with Statiq.Lunr #75
-
I tried to integrate client-side search using Statiq.Lunr into a Statiq site. Therefore I added a pipeline to create the search index which looks like this:
This basically works, but as URL the source file link is used, instead of the target file:
It seems like Statiq.Lunr just calls
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Ouch - right off the bat I see there's a mismatch in the package and namespace. I'm going to need to change the namespace to Still researching the link problem though. |
Beta Was this translation helpful? Give feedback.
Ouch - right off the bat I see there's a mismatch in the package and namespace. I'm going to need to change the namespace to
Statiq.Lunr
to match the package. At one point I guess I was thinking about a more general "search index" package, but I switched to preferring specific technology packages a while ago (similar to Cake addins). I guess I missed renaming the namespace here with the package name.Still researching the link problem though.