Topic List Excerpts

:discourse2: 요약 Topic List Excerpts는 고정되지 않은 주제에 대한 발췌문을 활성화할 수 있게 해 줍니다(기본적으로 Discourse는 고정된 주제에 대해서만 주제 발췌문을 표시합니다).
:eyeglasses: 미리보기 Discourse Theme Creator에서 미리보기
:hammer_and_wrench: 저장소 링크 https://github.com/discourse/discourse-topic-excerpts
:open_book: Discourse 테마를 처음 사용하시나요? Discourse 테마 사용 입문가 가이드

이 테마 컴포넌트 설치

기능

“list” 모드에서 https://meta.discourse.org/t/topic-list-thumbnails-theme-component/150602와 함께 사용하면 좋습니다!

:information_source: 발췌문 자체는 Discourse Core가 생성하며, '고정’된 주제의 발췌문과 동일한 로직을 사용합니다. 발췌문이 어떻게 생성되는지에 대한 문의나 제안이 있다면, 새로운 Support 주제를 만들어 주세요.


:bulb: 팁: 테마에 다음 CSS를 추가하여 발췌문에 줄바꿈을 유지할 수 있습니다:

.topic-list .topic-excerpt {
    white-space: pre-line;
}

게스트의 내용에 따라 결과가 이상하게 보일 수 있다는 점에 유의하세요.

설정

이름 설명
모바일에서 발췌문 표시
데스크톱에서 발췌문 표시
활성화된 카테고리 특정 카테고리에서 발췌문을 활성화합니다. 카테고리와 태그를 모두 비워 두면 모든 경로에서 발췌문이 표시됩니다
활성화된 태그 특정 태그에서 발췌문을 활성화합니다. 카테고리와 태그를 모두 비워 두면 모든 경로에서 발췌문이 표시됩니다.

:discourse2: 우리가 호스팅을 하고 있나요? 테마 컴포넌트는 Standard, Business, Enterprise 플랜에서 사용 가능합니다.

47개의 좋아요
MD Topic List component
Best way to implement Excerpts in topic list?
Topic List Previews (legacy)
Topic preview text
MD Topic List Mobile component
Expand new posts in topics in "Unread" and "New" to full summary
Topic Author
All links to categories broken?
Topic List Latest-Post Excerpt
Compact and AI Expanded
Displaying Views in Topic view (with no replies)
Topic List Latest-Post Excerpt
Discrepancy in display of user activity (all / replies vs topic)
Discourse AI Topic Summary :robot:
Formatting breaks when Topic (List) Excerpts theme component used with RSS Polling plugin
Display first 5 lines of every post
Discourse AI Topic Summary :robot:
Topic List Thumbnails
Display post content in homepage
Display post content in homepage
New users can't sign up, 404 errors in console
Is there a way to display topic contents in category view?
Topic List Thumbnails
Discourse Docs
Information about topic is not updated when using new & unread topics banner
Discourse Category Lockdown
Topic List Previews (TLP)
How to change the topic excerpt from the first post to the last post?
Topic Excerpts & AI Gists Button
Topic List Author & Posters
Google complaining about slow Interaction to Next Paint (INP) on Discourse sites
How to disable topic excerpts in category page
Using Discourse as a social media platform
Potential way to hide ignored users from topic list?
Display in the topics list in homepage also the body topic
Display replies and likes count in mobile view
Is there a plugin to make my forum a shop?
Why do excerpts include some HTML tags, but not others?
Latest activity list as for replies
How to add topic excerpt to all my topics
How to show part of the text under the topic head?
Static content on Category main page
Show latest reply hint on Latest list mode
How can I keep post views on lists
How to keep line breaks on excerpts?
Customizing your site with existing theme components

Great, a blog-like topic listing (together with Topic List Thumbnails Component)! :clap:

Can it be restricted by category like the other component?

7개의 좋아요

Sure, I just added a category setting:

https://github.com/discourse/discourse-topic-excerpts/commit/aed85ba07007d38fe98de8889e3b155c69aeb812

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개의 좋아요

You’re right, sorry about that. Should be fixed now

https://github.com/discourse/discourse-topic-excerpts/commit/301f77e50c8ed231d7e4c8cb6ce69d35c7e06707

9개의 좋아요

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.)

4개의 좋아요

The category setting works but the tag setting is not working on the latest discoures.

2개의 좋아요

@th21 tag handling should now be fixed - sorry for the delay!

3개의 좋아요

A post was split to a new topic: Being able to display excerpts for some categories only on /latest

A post was split to a new topic: Differentiate contents from the topic list rows using different colors

Hi,why the read more is grey in my site but in yours is blue, how can i chane the color?

1개의 좋아요

Hi, you can use CSS to customize.

For example, using the predefined color for links. Though, you can provide the color you want.

.topic-excerpt-more {
    color: var(--tertiary);
}
1개의 좋아요

Hi, this component gets rendered on the discourse docs plugin page and makes the excerpt clickable to the url of the discourse discussion not the doc url, is there anyway to avoid this from happening?

Hi, it’s possible to show the latest post instead of the first post?

2개의 좋아요

I have a plugin + theme-component for this: Topic List Latest-Post Excerpt

2개의 좋아요

There is a problem with the theme component in desktop?

when i have it enabled, thats shows avatars like that:

i have updated my discourse today

EDIT: IS there a way to limit the number of lines/characters for the excerpt?

2개의 좋아요

Yeah same here

Lastest it’s okay when logouted but others routes when discourse-right-sidebar-blocks are enabled this happen

The excerpt toggle button isn’t visible on mobiles. By desing, an accident or am I asking too early?

I love this! Is there any way to block excerpts from showing on private messages?

I’ve tried this component, and it doesn’t show excerpts on personal messages. :thinking: