# 有主题“地图”吗？（一种查找插件入口等的简便方法）

**URL:** <https://meta.discourse.org/t/is-there-a-theming-map-an-easy-way-to-find-plugin-outlets-etc/139383>\
**Category:** Development\
**Created:** [2020 年1 月 22 日 05:17 UTC](https://meta.discourse.org/t/is-there-a-theming-map-an-easy-way-to-find-plugin-outlets-etc/139383 "2020-01-22T05:17:53Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

作者： ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
发布日期： [2020 年2 月 7 日 08:33 UTC](https://meta.discourse.org/t/is-there-a-theming-map-an-easy-way-to-find-plugin-outlets-etc/139383/13 "2020-02-07T08:33:31Z")

</div>

可能有多种方法可以实现这一点。

试试这个：

- 覆盖调用该辅助函数的模板
- 将其替换为您自己的辅助函数

相关模板：[discourse/app/assets/javascripts/discourse/templates/list/topic-list-item.raw.hbs at c6e255f4e00400b8a6f82a799b7fa082b17adb1c · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/c6e255f4e00400b8a6f82a799b7fa082b17adb1c/app/assets/javascripts/discourse/templates/list/topic-list-item.raw.hbs)

在层级如此靠下的位置覆盖模板，风险相对较低。

另一种方法可能是在 topic-list-item 组件的覆盖代码中使用 jQuery 来执行您所需的修改。

---

_[View the full topic](https://meta.discourse.org/t/is-there-a-theming-map-an-easy-way-to-find-plugin-outlets-etc/139383)._
