-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Fallback to frontmatter excerpt if available #1673
Conversation
Deploy preview ready! Built with commit b51a41f |
Deploy preview ready! Built with commit b51a41f |
Deploy preview ready! Built with commit b51a41f |
A little worried this is making the default setup too specific. If a user hasn't added Perhaps it'd be better if you just overrode the query/serializer for your site? @nicholaswyoung thoughts? |
Good point @KyleAMathews I don't see an obvious way to override the serializer. I may be missing something? If not, I'll submit a PR. |
Oh you're right, doesn't look there is a way yet. |
Want me to work on that and PR? |
So it looks like you can pass custom serializers but it's not documented :-)
A PR adding documentation would be most excellent! |
Will do! :) |
Currently if there is no node.edge.excerpt, the frontmatter excerpt is still overwritten.
This fixes that.