Skip to content
Discussion options

You must be logged in to vote

Can confirm that replacing _search.json post-render works wonderfully! For example, writing out a JSON file like this:

[
 {
    objectID: "009021",
    href: "places/perth",
    title: "Perth (009021)",
    section: null,
    text: null
  },
  {
    objectID: "004032",
    href: "places/port-hedland",
    title: "Port Hedland (004032)",
    section: null,
    text: null
  }
]

Gives you a search like this (obvs there's an extra entry in this screenshot):

And links correctly 😊

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jimjam-slam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
websites Issues creating websites
1 participant