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

Render a content item to index its content #822

Closed
sebastienros opened this issue Jun 14, 2017 · 0 comments
Closed

Render a content item to index its content #822

sebastienros opened this issue Jun 14, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@sebastienros
Copy link
Member

Instead of trying to index the body of a content item, render it in an empty template with a custom display type (Index) and strip the html out of the result.
This will allow all the parts to provide the text to be indexed, and the theme will also be able to change the behavior or remove some content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants