You can manage the teaser in two distinct ways: manually and automatically. Let’s start with how to manually control the teaser.
Adjust the summary manually
To manually split the content shown in the listing pages, add <!–more–> summary divider where you want the article to be split.
Adjust the summary automatically
So what happens if you don’t provide that divider? Hugo is already handling this case without any input, enforcing an automatic summary of 70 words.
Most of the time, you’ll want to change the length of the automatic summary; to do so, in your configuration, set the summaryLength to a value of your choice.
For example, the following will change the default summary length from 70 to 15 words.
|
|