Skip to content

Incorrect image being returned when Page Contains Multiple Images #633

Answered by bglw
Phil89a asked this question in Q&A
Discussion options

You must be logged in to vote

Specifically for the https://cw109eu.uk/portfolio/recent/ page, nothing is being indexed as all of that content is inside an <aside> element with data-pagefind-ignore set. Not sure if that's intentional.

More generally, Pagefind also won't do a great job of highlighting results for those images individually if that's what you're after, since they don't have their own pages. If you remove the data-pagefind-ignore tag though then that Recent Work page as a whole would come up as a result for "Wales" :)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Phil89a
Comment options

@bglw
Comment options

bglw Jul 11, 2024
Maintainer

Answer selected by Phil89a
@Phil89a
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants