自定义Logo链接

:discourse2: 摘要 Custom Logo Link 允许管理员为桌面端/移动端以及匿名/已登录用户设置 Logo 的链接。
:eyeglasses: 预览 在 Discourse Theme Creator 上预览
:hammer_and_wrench: 仓库链接 https://github.com/discourse/discourse-custom-logo-link
:open_book: 初次使用 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

:discourse2: 由我们托管? 主题组件在我们的 Standard、Business 和 Enterprise 计划中均可使用。

10 个赞