Customize Post Excerpt
The excerpt is a short description of a post used in:
- Post cards
- Post headers
- RSS feeds
- Search results
Setting a Custom Excerpt
To set a custom excerpt:
- Add an
excerpt
field to the post's frontmatter - Provide your desired excerpt text
Example:
Why Use Custom Excerpts?
- Improve SEO: Craft targeted descriptions for search engines
- Enhance Readability: Provide clear, concise summaries for readers
- Control Content Display: Ensure the most relevant information appears in previews