基础布局组件

此组件允许论坛管理员将主题列表格式更改为两列布局(如 Elementary 主题 中所示),同时为论坛的其余部分保留其自定义主题。

这种两列主题列表布局试图在主题标题下涵盖主题的所有基本信息,而“最后帖子”列包含最后发帖者详细信息和最后发帖日期。

请享用,并让我知道如何进一步改进此组件。 :slight_smile:

|||
|-|-|-|
|:sunglasses:|预览|在 theme-creator.discourse.org 上预览|
|:link:|Github 仓库|github.com/MeghnaAJ/discourse-elementary-layout|

安装此主题组件

19 个赞

Great work!

Is it compatible with Topic List Previews plugin or theme component?

1 个赞

Does it work with this theme component?

1 个赞

No, this component will not work with Topic List Previews plugin since it also modifies topic list styling.

Yes, this component will work fine with Search banner component! :slight_smile:

3 个赞

would love to have admin toggles for additional information such as ‘views’

1 个赞

这个主题组件看起来是 Sam’s Simple Theme 的一个绝佳替代品,Sam’s Simple Theme 是唯一一个以文本格式显示 OP 和最近发帖人姓名的主题。不幸的是,Sam’s Simple Theme 似乎完全无人维护,对其损坏元素的拉取请求也未得到处理。因此,我想知道是否可以将此主题组件与 Discourse 默认主题一起为所有用户/访客默认启用,而不仅仅是员工?非常感谢!

此主题组件似乎已损坏

Uncaught (in promise) ReferenceError: can't access lexical declaration 'x' before initialization
    default chunk.46db2789b14251f87ab9.d41d8cd9.js:18
    initialize add-topic-list-class.js:11
    initialize chunk.46db2789b14251f87ab9.d41d8cd9.js:1