本站基于 Stellar 1.33.1 主题,覆盖配置位于 _config.stellar.yml

顶部导航菜单

1
2
3
4
5
6
7
menubar:
columns: 4
items:
- id: post # 博客
- id: wiki # 文档
- id: explore # 探索
- id: social # 友链

四个入口分别对应首页、文档区、探索页和友链页。

侧边栏组件

站点配置了两个侧边栏组件:

  • GitHub 用户卡片:展示 Sliorean 的 followers / following / repos 数据,由 GitHub API 实时拉取。
  • 标签云:按标签聚合文章,颜色从 #73d0ff 渐变到 #4046dd

页面布局

1
2
3
4
5
6
7
8
9
10
site_tree:
home:
leftbar: welcome, recent, tagcloud
rightbar: ghuser
post:
leftbar: related, recent
rightbar: ghuser, toc
wiki:
leftbar: tree, related, recent
rightbar: toc

首页右侧显示 GitHub 卡片,文章页右侧显示目录,wiki 页左侧显示文档树。

文章配置

1
2
3
4
5
article:
type: tech
auto_excerpt: 128
auto_banner: false
license: '本文采用 CC BY-NC-SA 4.0 许可协议,转载请注明出处。'

文章默认技术风格,自动截取 128 字作为摘要,无横幅图。

主题样式

1
2
style:
prefers_theme: light

默认浅色主题,不自动跟随系统深色模式。

页脚社交链接

页脚显示 GitHub 和 Email 两个社交图标,图标使用 CDN 上的 SVG 文件:

  • GitHub: 08a41b181ce68.svg
  • Email: a1b00e20f425d.svg