gohugoio / hugo

The world’s fastest framework for building websites.
https://gohugo.io
Apache License 2.0
75k stars 7.47k forks source link

Add ContentWithoutSummary #12778

Closed bep closed 1 month ago

bep commented 1 month ago

For the manual split summaries, this is trivial.

For the auto split summaries (controlled by summaryLength config), this is not trivial. So I'm not sure what to do about that.

Since

  1. There's already a format discrepancy between the 2 (HTML vs plain text).
  2. The developer budget for this is very ... limited.

I'm tempted to change the auto logic so it becomes: Summary is the first n paragraphs (e.g. <p>) >= summaryLength words. I will preserve the word counting logic re. CJK languages.

People not happy with the result have other options (plainify, summary in front matter, manual split)

Shout if you disagree.

github-actions[bot] commented 1 week ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.