# Atlas，一款带有可选侧边栏的简单博客风格主题

**URL:** https://meta.discourse.org/t/atlas-a-simple-blog-styled-theme-with-an-optional-sidebar/127863
**Category:** Theme
**Created:** [2019年九月7日 02:38 UTC](https://meta.discourse.org/t/atlas-a-simple-blog-styled-theme-with-an-optional-sidebar/127863 "2019-09-07T02:38:25Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [2019年九月7日 02:38 UTC](https://meta.discourse.org/t/atlas-a-simple-blog-styled-theme-with-an-optional-sidebar/127863/1 "2019-09-07T02:38:25Z")

</div>

Atlas 提供了一种替代的主题列表布局，旨在突出显示主题摘要，并包含一个（可选）的侧边栏空间。分类标题由“关于”主题填充，并支持用户隐藏。

 ![12%20PM](https://global.discourse-cdn.com/meta/original/3X/b/8/b8f1197639f15c182e9c2945e958ede81483639e.png)

🔭 [在主题创建器中预览](https://theme-creator.discourse.org/theme/awesomerobot/atlas)（请注意，摘要功能未启用，因此预览功能有限）

🐙 [Github 仓库](https://github.com/awesomerobot/atlas)：`https://github.com/awesomerobot/atlas`

❓ [Installing a theme or theme component](https://meta.discourse.org/t/how-do-i-install-a-theme-or-theme-component/63682)

ℹ 重要说明：

- 侧边栏是通过 [Custom Sidebar 组件](https://github.com/awesomerobot/discourse-custom-sidebar) 添加的，该组件可配置为在指定分类中显示某篇帖子作为侧边栏内容。配置详情请参阅仓库中的 README 文件。

- 本主题与“方框”分类样式（管理员 \> 设置）搭配效果最佳。

- 可通过一个名为 `always_include_topic_excerpts` 的隐藏站点设置启用摘要功能。要启用此设置，您需要拥有服务器的控制台访问权限。

🛠 未来改进计划

- 本主题中存在一些硬编码的颜色，我需要将其更新为可通过配色方案进行编辑。

- 提供设置以开启或关闭某些功能（例如分类标题）。

---

<div class="post-metadata">

### Author: ![Earlie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/earlie/32/157371_2.png) [@Earlie](https://meta.discourse.org/u/Earlie)
#### Post date: [2019年九月7日 06:32 UTC](https://meta.discourse.org/t/atlas-a-simple-blog-styled-theme-with-an-optional-sidebar/127863/3 "2019-09-07T06:32:59Z")

</div>

感谢您的辛勤工作，请问有办法将标题栏颜色从黑色改为浅色（例如白色）吗？  
我是新手，非常感谢您回答这个基础问题。

---

<div class="post-metadata">

### Author: ![Sachin\_Tajane](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sachin_tajane/32/159457_2.png) [@Sachin\_Tajane](https://meta.discourse.org/u/Sachin_Tajane)
#### Post date: [2019年十月26日 14:20 UTC](https://meta.discourse.org/t/atlas-a-simple-blog-styled-theme-with-an-optional-sidebar/127863/4 "2019-10-26T14:20:23Z")

</div>

错误

当成员创建新主题时提示“缺少标签字段”，请解决此问题。

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [2019年十月30日 18:29 UTC](https://meta.discourse.org/t/atlas-a-simple-blog-styled-theme-with-an-optional-sidebar/127863/5 "2019-10-30T18:29:53Z")

</div>

哦，你说得对，我忘了那件事。现在已经修复了。感谢反馈。

---

<div class="post-metadata">

### Author: ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)
#### Post date: [2020年八月18日 17:00 UTC](https://meta.discourse.org/t/atlas-a-simple-blog-styled-theme-with-an-optional-sidebar/127863/6 "2020-08-18T17:00:35Z")

</div>

看起来这些图标现在缺失了

 ![image](https://global.discourse-cdn.com/meta/original/3X/7/9/79334ba482a5a30897a77e348060cab68544508c.png)

编辑：哦，我想这与这次迁移有关：

> <https://github.com/discourse/discourse/blob/b1c726be0d33040d2aba0c39e8ea92ae2d86c024/db/migrate/20200517140915_fa4_renames.json>

编辑 2：这里还有一个 PR 🎉

> <https://github.com/awesomerobot/atlas/pull/1>
>
> Looks like a bunch of icons were renamed in discourse core:
> 
> https://github.co…m/discourse/discourse/blob/master/db/migrate/20200517140915\_fa4\_renames.json

---

<div class="post-metadata">

### Author: ![tpetrov](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tpetrov/32/164643_2.png) [@tpetrov](https://meta.discourse.org/u/tpetrov)
#### Post date: [2020年九月23日 12:35 UTC](https://meta.discourse.org/t/atlas-a-simple-blog-styled-theme-with-an-optional-sidebar/127863/7 "2020-09-23T12:35:14Z")

</div>

不知为何，当我尝试在主题创建器中打开  
[https://theme-creator.discourse.org/theme/awesomerobot/atlas-theme](https://theme-creator.discourse.org/theme/awesomerobot/atlas-theme)  
时，却跳转到了博客样式组件页面。

---

<div class="post-metadata">

### Author: ![camkego](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/camkego/32/166120_2.png) [@camkego](https://meta.discourse.org/u/camkego)
#### Post date: [2020年九月23日 23:28 UTC](https://meta.discourse.org/t/atlas-a-simple-blog-styled-theme-with-an-optional-sidebar/127863/8 "2020-09-23T23:28:12Z")

</div>

我也无法成功在主题创建器中打开该主题。我点击主帖中的“在主题创建器中审查”链接，它会带我到 https://theme-creator.discourse.org/latest 网址上的“查看共享主题”模态框，但在点击“查看主题”按钮后，我停留在以下网址，而并未访问主题：https://theme-creator.discourse.org/c/blog/18。

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [2020年九月23日 23:42 UTC](https://meta.discourse.org/t/atlas-a-simple-blog-styled-theme-with-an-optional-sidebar/127863/9 "2020-09-23T23:42:57Z")

</div>

嗯，我不太确定当时发生了什么……但我重新生成了链接（[https://theme-creator.discourse.org/theme/awesomerobot/atlas](https://theme-creator.discourse.org/theme/awesomerobot/atlas)），现在看起来没问题了。我已更新了原始帖子。

---

<div class="post-metadata">

### Author: ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)
#### Post date: [2020年十二月17日 23:40 UTC](https://meta.discourse.org/t/atlas-a-simple-blog-styled-theme-with-an-optional-sidebar/127863/10 "2020-12-17T23:40:13Z")

</div>

我还没深入研究这个问题，但看起来这个主题在 Discourse 2.7.0 beta1 上存在一些故障。如果你在 [主题创建器](https://theme-creator.discourse.org/theme/awesomerobot/atlas) 中查看，会发现缺少话题预览和一些其他图标。

 ![image](https://global.discourse-cdn.com/meta/original/3X/e/1/e1a36fe66cdf531019da80edeec9955039255708.png)

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [2021年三月18日 03:54 UTC](https://meta.discourse.org/t/atlas-a-simple-blog-styled-theme-with-an-optional-sidebar/127863/12 "2021-03-18T03:54:23Z")

</div>

我对主题进行了一些通用更新，以修复存在的问题，并计划推出更多更新！

---

<div class="post-metadata">

### Author: ![hoangviet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hoangviet/32/174417_2.png) [@hoangviet](https://meta.discourse.org/u/hoangviet)
#### Post date: [2023年一月16日 01:47 UTC](https://meta.discourse.org/t/atlas-a-simple-blog-styled-theme-with-an-optional-sidebar/127863/13 "2023-01-16T01:47:47Z")

</div>

我想展示一些缩略图（在移动设备、桌面设备上），你能指导我吗？

 ![image](https://global.discourse-cdn.com/meta/original/4X/6/e/7/6e76f1862ba8bb15cac80c0db6f7608a2043b87b.png)

非常感谢！

---

<div class="post-metadata">

### Author: ![hoangviet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hoangviet/32/174417_2.png) [@hoangviet](https://meta.discourse.org/u/hoangviet)
#### Post date: [2023年一月16日 02:11 UTC](https://meta.discourse.org/t/atlas-a-simple-blog-styled-theme-with-an-optional-sidebar/127863/14 "2023-01-16T02:11:26Z")

</div>

如何在手机上显示姓名（用户名）？（目前只能在桌面上看到）。

非常感谢。
