-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Currently {{ page.excerpt }} returns the first line of content if it is empty in WordPress. This is not desired on the template Sean is working on.
Ideally this would behave like so:
- Output the actual content that exists (even if empty)
- Give the user the option to auto-generate but do not make this default
public function getExcerpt(int $limit = 200): string
{
if (empty($this->excerpt)) {
return $this->trimContent($this->__toString(), $limit);
}
return $this->excerpt;
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request