How to set summary word count?

AI-generated summary

The discussion revolves around setting a summary word count in Discourse. Aaron_Pang asks how to limit the character display in summaries, sharing a screenshot. Jagster suggests adjusting the topic excerpt maxlength but Aaron_Pang finds it ineffective. Jagster then proposes trying safe-mode and checking the theme, mentioning the Topic list preview component as an alternative solution. Moin inquires about the context of the summary, and Aaron_Pang clarifies it’s in the topic list. nathank advises rebaking posts for changes to take effect.

How to set summary word count? For example, only 50 characters are displayed

Try setting topic excerpt maxlength

Hi,Jakke

Not effective

Then my next guess would be it comes from theme. You can be sure trying safe-mode. And if that’s true then next stop would be topic of that theme.

If I’m remembering right Topic list preview offers that option too.

Thank you, this is a great idea

Where do you see that summary? Are those search results?

I took a deep breath and was rushing to make a bold claim that search doesn’t show profile images… :man_facepalming:

And I’m using searches every day multiple times. Good example how one can choose what to see.

Back to on-topic. Yeah, that’s true. If screenshot is from search result it changes this game.

In topic list, not search results

You need to rebake the posts (I think) for it to work after changing that setting. You should be able to just refresh the HTML on the OP of the Topic you are testing.