Skip to content

Question/Bug? - Setting post excerpt #2906

Answered by mmistakes
Shu-Wan asked this question in Q&A
Discussion options

You must be logged in to vote

Strange. It appears to be working correctly on the demo site.

If you check out this archive page
and scroll down, the post titled "Layout: Excerpt (Defined)" has an excerpt that has been manually set.

The excerpt override was set just as you did with excerpt: in the post's YAML Front Matter.

---
title: "Layout: Excerpt (Defined)"
excerpt: "This is a user-defined post excerpt. It should be displayed in place of the post content in archive-index pages."
categories:
  - Layout
  - Uncategorized
tags:
  - content
  - excerpt
  - layout
---

This is the post content. It should be displayed in place of the user-defined excerpt in archive-index pages.

This paragraph should be absent from an a…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Shu-Wan
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #719 on April 01, 2021 11:17.