| 摘要 | Custom Logo Link 允许管理员为桌面端/移动端以及匿名/已登录用户设置 Logo 的链接。 | |
| 预览 | 在 Discourse Theme Creator 上预览 | |
| 仓库链接 | https://github.com/discourse/discourse-custom-logo-link | |
| 初次使用 Discourse 主题? | Discourse 主题使用入门指南 |
安装此主题组件
功能
此组件允许覆盖 Logo 的链接。
设置
| 名称 | 描述 | 示例 |
|---|---|---|
| desktop_url | 桌面端匿名用户的链接 | https://www.example.com |
| mobile_url | 移动端匿名用户的链接 | https://www.example.com?origin=mobile |
| logged_in_desktop_url | 桌面端已登录用户的链接(支持 $username 和 $user_id 作为插值令牌) | https://www.example.com/$username |
| logged_in_mobile_url | 移动端已登录用户的链接(支持 $username 和 $user_id 作为插值令牌) | https://www.example.com/$user_id |
由我们托管? 主题组件在我们的 Standard、Business 和 Enterprise 计划中均可使用。