Path: /themes/helpers/data/excerpt
Description
The {{excerpt}} Handlebars helper appears to have an undocumented hard cap of approximately 70 words. Passing words="500" or any
higher value does not increase the output beyond this limit.
Steps to reproduce
- Create a post with 500+ words of body content
- In a theme template, use
{{excerpt words="500"}}
- Observe that the output is approximately ~70 words
Expected behavior
{{excerpt words="500"}} should return up to 500 words of stripped text from the post body.
Actual behavior
Output is capped at ~70 words regardless of the words parameter value. The text also cuts off mid-word, suggesting the limit may
actually be character-based (~500 characters) rather than word-based.
Workaround
Use {{content}} instead, wrapped in a container with overflow: hidden and CSS to neutralize HTML formatting. This returns the
full post body as HTML.
Path: /themes/helpers/data/excerpt
Description
The
{{excerpt}}Handlebars helper appears to have an undocumented hard cap of approximately 70 words. Passingwords="500"or anyhigher value does not increase the output beyond this limit.
Steps to reproduce
{{excerpt words="500"}}Expected behavior
{{excerpt words="500"}}should return up to 500 words of stripped text from the post body.Actual behavior
Output is capped at ~70 words regardless of the
wordsparameter value. The text also cuts off mid-word, suggesting the limit mayactually be character-based (~500 characters) rather than word-based.
Workaround
Use
{{content}}instead, wrapped in a container withoverflow: hiddenand CSS to neutralize HTML formatting. This returns thefull post body as HTML.