# hexo-theme-fluid **Repository Path**: hysgitee/hexo-theme-fluid ## Basic Information - **Project Name**: hexo-theme-fluid - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-03-05 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
一款 Material Design 风格的主题
An elegant Material-Design theme for Hexo
🇨🇳 中文简体 | 🇬🇧 English
文档: 用户手册     文章配置
预览: demo     zkqiang's blog
## 快速开始 #### 1. 搭建 Hexo 博客 如果你还没有 Hexo 博客,请按照 [Hexo 官方文档](https://hexo.io/zh-cn/docs/) 进行安装、建站。 #### 2. 获取主题最新版本 **方式一:** 请优先下载 [最新 release 版本](https://github.com/fluid-dev/hexo-theme-fluid/releases),master 分支无法保证稳定。 下载后解压到 themes 目录下并重命名为 `fluid`。 **方式二:** Hexo 5.0.0 版本以上,可以通过 npm 直接安装: ```sh npm install --save hexo-theme-fluid ``` 然后在博客目录下创建 `_config.fluid.yml`,把主题的 [_config.yml](https://github.com/fluid-dev/hexo-theme-fluid/blob/release/_config.yml) 内容复制过去。 #### 3. 指定主题 如下修改 Hexo 博客目录中的 `_config.yml`: ```yaml theme: fluid # 指定主题 language: zh-CN # 指定语言,可不改 ``` #### 4. 创建「关于页」 首次使用主题的「关于页」需要手动创建: ```bash $ hexo new page about ``` 创建成功后,编辑博客目录下 `/source/about/index.md`,添加 `layout` 属性。 修改后的文件示例如下: ```yml --- title: about date: 2020-02-23 19:20:33 layout: about --- 这里写关于页的正文,支持 Markdown, HTML ``` ## 升级主题 首先强烈建议学习使用[覆盖配置](https://hexo.fluid-dev.com/docs/guide/#%E8%A6%86%E7%9B%96%E9%85%8D%E7%BD%AE) 然后升级步骤[参照这里](https://hexo.fluid-dev.com/docs/example/#%E6%9B%B4%E6%96%B0%E4%B8%BB%E9%A2%98) ## 功能特性 - [x] 图片懒加载 - [x] 自定义代码高亮方案 - [x] 内置多语言 - [x] 支持多款评论插件 - [x] 支持使用[数据文件](https://hexo.io/zh-cn/docs/data-files)存放配置 - [x] 自定义静态资源 CDN - [x] 无比详实的[用户文档](https://hexo.fluid-dev.com/docs/) - [x] 内置文章搜索 - [x] 页脚备案信息 - [x] 网页访问统计 - [x] 支持脚注语法 - [x] 支持 LaTeX 数学公式 - [x] 支持 mermaid 流程图 - [x] 音乐播放器 - [x] 暗色模式 ## 贡献者 [](https://github.com/fluid-dev/hexo-theme-fluid/graphs/contributors) 英文文档翻译:[@EatRice](https://eatrice.top/) [@橙子杀手](https://ruru.eatrice.top) 其他贡献:[@zhugaoqi](https://github.com/zhugaoqi) [@julydate](https://github.com/julydate) 如你也想贡献代码,可参照[贡献指南](https://hexo.fluid-dev.com/docs/contribute/) ## 社区 微信群:扫描二维码添加好友进交流群好友申请备注:fluid
提问之前请先仔细查阅用户文档