Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page code is included in search results #2

Open
jaredcwhite opened this issue Nov 5, 2020 · 5 comments
Open

Page code is included in search results #2

jaredcwhite opened this issue Nov 5, 2020 · 5 comments
Labels
bug Something isn't working

Comments

@jaredcwhite
Copy link
Member

Whenever the search index is generated, it's coming before some of the other templates have rendered so template code is leaking into the index (and the final converted text is missing).

@jaredcwhite jaredcwhite added the bug Something isn't working label Nov 5, 2020
@jaredcwhite
Copy link
Member Author

Seems this is no longer an issue with the resource content engine.

@jaredcwhite
Copy link
Member Author

Seeing it again now actually. Hmm!

@jaredcwhite
Copy link
Member Author

image

@jaredcwhite
Copy link
Member Author

In the meantime, simply adding exclude_from_search: true to the front matter of those prototype pages gets the job done.

@jaredcwhite
Copy link
Member Author

We need to skip non HTML files as well, like its own search index!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant