See this section of the Jekyll documentation on post excerpts.
If I set the following in _config.yml:
...
feed:
excerpt_only: true
excerpt_separator: <!--more-->
...
I expect to see only content before <!--more--> in the generated feeds. feed.xml generated by jekyll-feed acts accordingly, but I see the full post html in feed.json.
Setting excerpt: in the post's frontmatter doesn't change the generated "content_html" in feed.json. It does add a "summary" entry though.
I realize excerpt_only: true is a jekyll-feed setting and it's not mentioned in the README for jekyll-json-feed, so I'm not sure if this is considered intentional behavior, a missing feature, or a bug. But it would be nice if jekyll-json-feed supported including only excerpts and not full post content in the generated feeds.
See this section of the Jekyll documentation on post excerpts.
If I set the following in
_config.yml:I expect to see only content before
<!--more-->in the generated feeds.feed.xmlgenerated by jekyll-feed acts accordingly, but I see the full post html infeed.json.Setting
excerpt:in the post's frontmatter doesn't change the generated"content_html"infeed.json. It does add a"summary"entry though.I realize
excerpt_only: trueis a jekyll-feed setting and it's not mentioned in the README for jekyll-json-feed, so I'm not sure if this is considered intentional behavior, a missing feature, or a bug. But it would be nice if jekyll-json-feed supported including only excerpts and not full post content in the generated feeds.