mirror of
https://github.com/wassname/talk.git
synced 2026-07-31 12:50:48 +08:00
feat: added docs for featured comments tab (#2259)
This commit is contained in:
@@ -16,4 +16,15 @@ if there are any featured comments on that story.
|
||||
|
||||
When paired with the [talk-plugin-moderator-actions](/talk/plugin/talk-plugin-moderator-actions)
|
||||
plugin, moderators will have the option of featuring comments from the comment
|
||||
stream.
|
||||
stream.
|
||||
|
||||
## Default Comments Tab
|
||||
|
||||
You can also change the default tab when rendering the comment stream to the
|
||||
featured tab so when a user reaches a comment stream, they will see the featured
|
||||
comments first by setting the [TALK_DEFAULT_STREAM_TAB](/talk/advanced-configuration/#talk-default-stream-tab)
|
||||
variable to `talk-plugin-featured-comments`.
|
||||
|
||||
This is a **Build Variable** and must be consumed during build. If using the
|
||||
[Docker-onbuild](/talk/installation-from-docker/#onbuild)
|
||||
image you can specify it with `--build-arg TALK_DEFAULT_STREAM_TAB=talk-plugin-featured-comments`.
|
||||
|
||||
Reference in New Issue
Block a user