> For AI agents: the complete documentation index is available at https://www.67-8.com/llms.txt, the full documentation bundle is available at https://www.67-8.com/llms-full.txt.

# 主题配置

本页对应 [Rspress 主题配置文档](https://rspress.rs/zh/api/config/config-theme) 中本站实际启用的项。

## 内容组织

博客和文章是两套独立内容，互不出现在对方的列表、归档或 RSS 中，做法与 [rspress.rs 博客](https://rspress.rs/zh/blog/) 一致。

- **博客**：写在 `docs/blog/`。`/blog/` 列表只读取这个目录；RSS 也只收录这里的文章。博客文章页没有左侧栏，顶部是「返回博客」、日期和大标题。
- **文章**：写在 `docs/posts/`，都放在「技术」分类下。文章页保留左侧栏、右侧目录，以及归档、标签。
- 搜索可以同时搜到两边。旧的博客文章地址会重定向到 `/blog/` 下的新路径。

## 导航

顶栏包含：首页、文章（下拉：技术 / 全部 / 归档 / 标签）、博客、关于、站点（外链到 qztz / pan / ip）。

插件栏目不放在顶栏，可从[首页的「插件」卡片](https://www.67-8.com/index.md)或本页进入：[插件机制介绍](https://www.67-8.com/plugin/system/introduction.md)。

各栏目使用独立侧栏（文档根目录不放全局 `_meta.json`，而在 `posts/`、`plugin/`、`about/` 各自配置）。博客文章设置了 `sidebar: false`，因此没有左侧栏。

## 外观与交互

```ts
themeConfig: {
  darkMode: true,
  lastUpdated: true,
  enableScrollToTop: true,
  llmsUI: true,
  footer: {
    message: '用心记录每一次思考。© 67-8',
  },
  socialLinks: [
    {
      icon: { svg: '<!-- rss icon -->' },
      mode: 'link',
      content: 'https://www.67-8.com/rss.xml',
    },
  ],
}
```

- **深浅色切换**：`darkMode: true`（跟随系统，可手动切换）
- **复制 Markdown**：由内置 `llms` + `llmsUI` 提供
- **右侧大纲**：标题文案为「目录」
- **上一篇 / 下一篇**：文章栏目使用默认主题 DocFooter
- **编辑此页面**：未配置（没有公开仓库，避免假链接）
- **Logo**：`/logo.svg` + `logoText: '67-8'`

## 中文文案

通过 `lang: 'zh'` 与 `i18nSource` 覆盖搜索框、上一篇/下一篇、最后更新等内置文案。
