Install this theme component
Features
Works great alongside Topic List Thumbnails in “list” mode!
The excerpts themselves are generated by Discourse Core, using the same logic as the excerpts of ‘pinned’ topics. If you have a query / suggestion about how the excerpts are built, please make a new support topic.
Tip: you can keep line breaks in excerpts by adding this CSS to your theme:
.topic-list .topic-excerpt {
white-space: pre-line;
}
Be aware that results may look off depending on the posts’ contents.
Settings
Name
Description
show excerpts mobile
show excerpts desktop
enabled categories
Enable excerpts in specific categories. Leave both categories and tags blank to show excerpts on all routes
enabled tags
Enable excerpts in specific tags. Leave both categories and tags blank to show excerpts on all routes.
Hosted by us? Theme components are available to use on our Standard, Business, and Enterprise plans.
Last edited by @JammyDodger 2024-06-15T19:28:50Z
Check document Perform check on document:
「いいね!」 47
Great, a blog-like topic listing (together with Topic List Thumbnails Component)!
Can it be restricted by category like the other component?
「いいね!」 7
david
(David Taylor)
2020 年 5 月 15 日午後 1:01
4
「いいね!」 13
Thanks, much appreciated.
I also take the chance to report that there is some kind of incompatibility with the Topic Thumbnails component, since the images appear twice for each topic in the topic list (topic list option on thumbnails component + topic excerpts component).
「いいね!」 2
david
(David Taylor)
2020 年 5 月 18 日午後 2:30
6
You’re right, sorry about that. Should be fixed now
committed 02:29PM - 18 May 20 UTC
「いいね!」 9
downey
(Michael Downey)
2021 年 3 月 3 日午後 11:44
15
Love this component; thank you! Is there any way to adjust the word/character length of the excerpts displayed in topic lists? (Never mind, I found the topic excerpt maxlength site setting, adjusted it, and rebuilt HTML for the topic posts in question.)
「いいね!」 3
th21
2022 年 4 月 3 日午前 12:36
26
カテゴリ設定は機能しますが、タグ設定は最新の Discourse で機能しません。
「いいね!」 2
david
(David Taylor)
2022 年 4 月 12 日午前 11:02
27
@th21 タグの処理は修正されたはずです。遅くなり申し訳ありません!
「いいね!」 3
Canapin
(Coin-coin le Canapin)
このトピックを分割しました:
2023 年 9 月 12 日午後 12:50
29
Canapin
(Coin-coin le Canapin)
このトピックを分割しました:
2023 年 9 月 12 日午後 12:30
32
こんにちは、私のサイトでは「続きを読む」がグレーですが、あなたのサイトでは青色です。色を変更するにはどうすればよいですか?
「いいね!」 1
CSS を使用してカスタマイズできます。
たとえば、リンクの定義済みカラーを使用します。ただし、希望する color を指定することもできます。
.topic-excerpt-more {
color: var(--tertiary);
}
「いいね!」 1
こんにちは。このコンポーネントは、Discourse ドキュメントプラグインのページでレンダリングされ、抜粋がドキュメントの URL ではなく Discourse ディスカッションの URL をクリックできるようになります。これを回避する方法はありますか?
最新の投稿を表示することは可能ですか。最初の投稿ではなく。
「いいね!」 2
dsims
(Daniel)
2024 年 5 月 17 日午後 12:36
38
「いいね!」 2
デスクトップのテーマコンポーネントに問題がありますか?
有効にすると、アバターが次のように表示されます。
本日、Discourseを更新しました。
編集:抜粋の行数/文字数を制限する方法はありますか?
「いいね!」 2
eisammy
(Sammy)
2024 年 12 月 29 日午後 5:02
40
私も同じです
ログアウト時は問題ありませんが、discourse-right-sidebar-blocks が有効になっている他のルートでは、このようになります。
Jagster
(Jakke Lehtonen)
2025 年 3 月 3 日午前 11:26
41
抜粋トグルボタンがモバイルに表示されません。デザインによるものですか、それとも時期尚早ですか?
これを気に入っています!プライベートメッセージに抜粋が表示されないようにブロックする方法はありますか?
Canapin
(Coin-coin le Canapin)
2025 年 3 月 20 日午後 3:45
43
このコンポーネントを試しましたが、個人メッセージに抜粋が表示されません。