Material Design 风格与响应式布局,适配桌面、平板和手机
hexo-theme — Hexo 博客模板
作者 xkloveme
一个基于 Material Design 的 Hexo 博客主题,提供响应式布局、文章列表、归档、标签词云、分类雷达图、关于页与友链页等页面模板。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 3
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
首页轮播文章与每日动态变化的 banner 图
瀑布流文章列表、时间线归档、标签词云和分类雷达图
关于页包含关于我、文章统计、项目、技能、相册等模块
支持文章置顶、打赏、MathJax、TOC、复制追加版权和阅读密码验证
可接入 Gitalk、Gitment、Valine、Disqus 评论及不蒜子、Google Analytics 统计
模板详细介绍
hexo-theme-matery 是一个 Hexo 博客主题,采用 Material Design 风格并支持响应式布局,可在桌面、平板和手机上显示。主题提供首页轮播文章与每日变化的 banner 图、瀑布流文章列表、时间线归档页、标签词云页、分类雷达图页,以及包含关于我、文章统计、项目、技能、相册等内容的关于页和可自定义数据的友链页。
主题支持文章置顶与打赏、MathJax、目录(TOC)、复制内容时追加版权信息、阅读文章时密码验证,以及 Gitalk、Gitment、Valine、Disqus 等评论模块。还集成了不蒜子统计、Google Analytics 和文章字数统计,支持首页音乐与视频播放、emoji 表情、DaoVoice 与 Tidio 在线聊天。
使用前需要已有 Hexo 博客,并将主题放入 themes 目录,在 Hexo 根目录 _config.yml 中设置 theme 为 hexo-theme-matery。分类、标签、关于、留言板、友链等页面需要手动执行 hexo new page 创建并设置对应 layout。部分功能依赖第三方插件或服务,例如 emoji 需要 hexo-filter-github-emojis,代码高亮使用 hexo-prism-plugin,搜索使用 hexo-generator-search,中文链接转拼音使用 hexo-permalink-pinyin,字数统计使用 hexo-wordcount,留言板依赖第三方评论系统。
适合你的项目吗?
适用场景
- 使用 Hexo 搭建个人博客并希望采用 Material Design 视觉风格
- 需要首页轮播、瀑布流文章列表和动态 banner 的博客展示
- 需要标签词云、分类雷达图、时间线归档等特色页面
- 希望在关于页集中展示个人信息、项目、技能和相册
- 需要文章置顶、打赏、阅读密码或复制版权提示等文章功能
适合人群
- 已有 Hexo 博客并想更换主题的个人博主
- 偏好 Material Design 与响应式阅读体验的写作者
- 需要分类、标签、归档、关于、友链等完整页面结构的博客
- 愿意按文档安装第三方 Hexo 插件来启用扩展功能的用户
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
需先有 Hexo 博客,将主题放入 themes 目录,并在 Hexo 根目录 _config.yml 中设置 theme: hexo-theme-matery
- 2
分类、标签、关于、留言板、友链等页面需用 hexo new page 创建,并在 front-matter 中设置对应的 type 与 layout
- 3
留言板依赖第三方评论系统,需先启用评论系统才能生效
- 4
emoji、代码高亮、搜索、中文链接转拼音、字数统计等功能需安装对应 Hexo 插件并修改 _config.yml 配置
- 5
友链数据需在 source/_data 下新建 friends.json 并按示例格式填写
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 Apache-2.0 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发;分发时需随附 Apache-2.0 许可证。
- 修改过的文件需显著标明改动,并保留相关版权、专利、商标及归属声明。
- 若原项目附有 NOTICE 文件,分发衍生作品时需保留其中适用的归属声明。
- 许可包含适用的贡献者专利授权;发起许可所述专利诉讼会终止该专利授权,且不授予商标使用权。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 留言板功能依赖第三方评论系统(如 Gitalk、Gitment、Valine、Disqus),必须先自行启用并配置评论系统,留言板才能生效。
- 使用 DaoVoice 在线聊天需前往其官网注册账号并获取 app_id,属于外部服务依赖。
- 使用 Tidio 在线聊天需前往其官网注册账号并获取 Public Key,属于外部服务依赖。
- emoji 表情功能需额外安装 hexo-filter-github-emojis 插件,非主题自带。
- 代码高亮依赖第三方插件 hexo-prism-plugin,需自行安装并修改 Hexo 配置。
- 搜索功能依赖第三方插件 hexo-generator-search,需自行安装配置。
- 中文链接转拼音需额外安装 hexo-permalink-pinyin 插件。
- 文章字数与阅读时间统计需额外安装 hexo-wordcount 插件。
- RSS 订阅功能依赖第三方插件 hexo-generator-feed,需自行安装配置。
- 使用该主题的前提是已拥有 Hexo 博客环境,需自行搭建 Hexo 并放入 themes 目录。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 Apache-2.0 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
no-charge, royalty-free, irrevocable copyright license
许可证原文
The message board depends on a third-party comment system, please **activate** your comment system to be effective.
README 原文
Go to the official website of [DaoVoice](http://www.daovoice.io/), register and get the `app_id`.
README 原文
Go to the official website of [Tidio](https://www.tidio.com/), register and get the `Public Key`.
README 原文
This theme adds support for the `emoji` emoticon, using the Hexo plugin for [hexo-filter-github-emojis]
README 原文
Hexo theme uses Hexo's plugin[hexo-prism-plugin](https://github.com/ele828/hexo-prism-plugin) to show the code highlight instead of its own theme.
README 原文
The theme uses the Hexo plugin[hexo-generator-search](https://github.com/wzpan/hexo-generator-search) to search the content
README 原文
We can use the [hexo-permalink-pinyin](https://github.com/viko16/hexo-permalink-pinyin) of Hexo plugin to generate permalinks of Chinese Pinyin
README 原文
you can install the [hexo-wordcount](https://github.com/willin/hexo-wordcount) plugin.
README 原文
The theme uses the Hexo plugin[hexo-generator-feed](https://github.com/hexojs/hexo-generator-feed) to support `RSS` feed
README 原文
https://github.com/xkloveme/hexo-theme/blob/master/LICENSEhttps://github.com/xkloveme/hexo-theme/blob/master/README.mdYou should have a [Hexo](https://hexo.io/zh-cn/) blog when you see it here.
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-02。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料一般 · 60 / 100
- 技术栈
- Hexo
- 网站类型
- 博客
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2020-03-14
- 截图检查日期
- 2026-10-02
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Hexo。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: 9bec681df8424157a10dced175b20fef6d8be350f2e0041d467d5dfdb5cc6696
2026-10-02T15:09:18.758Z
来源文件 / 仓库# hexo-theme-matery
[](http://hits.dwyl.io/blinkfox/hexo-theme-matery) [](https://gitter.im/hexo-theme-matery/Lobby?utm_source=badge) [](https://github.com/blinkfox/hexo-theme-matery/issues) [](https://github.com/blinkfox/hexo-theme-matery/blob/master/LICENSE) [](https://codeload.github.com/blinkfox/hexo-theme-matery/zip/master) [](http://hexo.io) [](https://github.com/blinkfox/hexo-theme-matery/network) [](https://github.com/blinkfox/hexo-theme-matery/stargazers)
[🇨🇳中文说明](README_CN.md) | [DEMO](https://blinkfox.github.io/)
> This is a Hexo blog theme with 'Material Design' and responsive design.
## Features
- Simple and beautiful, and post is Beautiful and readable.
- [Material Design](https://material.io/).
- Responsive design,which can be displayed well on desktop, tablet, mobile phone, etc.
- Home page carousel posts and changing 'banner' picture dynamically everday.
- Blog posts list with waterflow(There will be 24 images if the articl dosn't have featured pictures).
- Archive page with timeline.
- Tags page of the **word cloud** and categories page of the **radar chart**
- Rich 'About' page (including about me, posts charts, my projects, my skills, gallery etc.)
- Friendly link page for customizable data
- Support post topping and rewards
- Support `MathJax`
- TOC
- Can be set append the copyright information when copying the content of the post
- Can be set to do password verification when reading a post
- Comment module of [Gitalk](https://gitalk.github.io/), [Gitment](https://imsun.github.io/gitment/), [Valine](https://valine.js.org/) and [Disqus](https://disqus.com/).(Gitalk is recommended)
- Integrated [Busuanzi Statistics](http://busuanzi.ibruce.info/), `Google Analytics` and post word count statistics.
- Support music playback and video playback on the homepage
- Support the `emoji` emoticon and use the `markdown emoji` grammar to directly generate the corresponding emoticon.
- Support [DaoVoice](http://www.daovoice.io/)、[Tidio](https://www.tidio.com/) online chat.
## Contributor
Thanks to these contributors, without whom, hexo-theme-matery won't be this perfect.
- [@HarborZeng](https://github.com/HarborZeng)
- [@shw2018](https://github.com/shw2018)
- [@L1cardo](https://github.com/L1cardo)
- [@Five-great](https://github.com/Five-great)
## Download
You should have a [Hexo](https://hexo.io/zh-cn/) blog when you see it here.If not,try to use the hexo and [Markdown](https://www.appinn.com/markdown/) to write your blog and post.
Click [here](https://codeload.github.com/blinkfox/hexo-theme-matery/zip/master) to download master branch of the last stable version of the code.After decompressing,copy the `hexo-theme-matery` folder
to your `themes` folder of your Hexo.Of course,you can uer `Git clone` to download in your `themes` folder.
```bash
git clone https://github.com/blinkfox/hexo-theme-matery.git
```
## Configuration
### Modify theme
Modify the value of `theme` in `_config.yml` of Hexo's root folder: `theme: hexo-theme-matery`.
#### Suggestions for other changes to the `_config.yml`:
- Please modify the value of `url` of `_config.yml` to your website's main `URL` (eg `http://xxx.github.io`).
- Recommended modify the value of the two 'per_page` to be a multiple of `6`, such as: `12`, `18`, etc. so that the posts list can be displayed well under each screen.
- If you are a Chinese user, it is recommended to change the value of `language` to `zh-CN`.
### new categories page
`categories` page is to show all of categories. If the `source` directory of your blog doesn't have `categories/index.md` file, you need to new one like this:
```bash
hexo new page "categories"
```
to edit your new page files`/source/categories/index.md`, you need somethings as follows:
```yaml
---
title: categories
date: 2018-09-30 17:25:30
type: "categories"
layout: "categories"
---
```
### new tags page
`tags` page is to show all of tags. If the `source` directory of your blog doesn't have `tags/index.md` file,you need to new one like this:
```bash
hexo new page "tags"
```
to edit your new page files`/source/tags/index.md`, you need somethings as follows:
```yaml
---
title: tags
date: 2018-09-10 18:23:38
type: "tags"
layout: "tags"
---
```
### new about page
`about` page is to show my blog and myself information. If the `source` directory of your blog doesn't have `about/index.md` file, you need to new one like this:
```bash
hexo new page "about"
```
to edit your new page files`/source/about/index.md`, you need somethings as follows:
```yaml
---
title: about
date: 2018-09-30 17:25:30
type: "about"
layout: "about"
---
```
### new contact page (Optional)
`contact` page is to show contact information. If the `source` directory of your blog doesn't have `contact/index.md` file, you need to new one like this:
```bash
hexo new page "contact"
```
to edit your new page files`/source/contact/index.md`, you need somethings as follows:
```yaml
---
title: contact
date: 2018-09-30 17:25:30
type: "contact"
layout: "contact"
---
```
> **Note**:The message board depends on a third-party comment system, please **activate** your comment system to be effective. And in the theme `_config.yml` file, the "**menu**" of the `19` to `21` line is configured, and the comment about the message board cloud be canceled.
### new friends link page (Optional)
The `friends` page is a page for displaying **Friendly Links** information. If you don't have a `friends/index.md` file in your blog's `source` directory, then you need to create a new one. The command is as follows:
```bash
hexo new page "friends"
```
Edit the file `/source/friends/index.md` you just created, at least you need the following:
```yaml
---
title: friends
date: 2018-12-12 21:25:30
type: "friends"
layout: "friends"
---
```
Also, create a new `_data` directory in your blog's `source` directory and a new `friends.json` file in the `_data` directory. The contents of the file are as follows:
```json
[{
"avatar": "http://image.luokangyuan.com/1_qq_27922023.jpg",
"name": "MaJang",
"introduction": "I am not a master, just looking for the master's footsteps.",
"url": "http://luokangyuan.com/",
"title": "Read More"
}, {
"avatar": "http://image.luokangyuan.com/4027734.jpeg",
"name": "Blinkfox",
"introduction": "Hello, I'm blinkfox, I like programming.",
"url": "https://blinkfox.github.io/",
"title": "Visit Blog"
}, {
"avatar": "http://image.luokangyuan.com/avatar.jpg",
"name": "ja_rome",
"introduction": "Ordinary steps can also go out of the great journey.",
"url": "https://me.csdn.net/jlh912008548",
"title": "Read More"
}]
```
### Menu navigation configuration
#### Configure the name of the basic menu navigation, path url and icon icon.
1. The menu navigation name can be Chinese or English (eg: `Index` or `Home`)
2. Icon icon can be found in [Font Awesome](https://fontawesome.com/icons)
```yaml
menu:
Index:
url: /
icon: fas fa-home
Tags:
url: /tags
icon: fas fa-tags
Categories:
url: /categories
icon: fas fa-bookmark
Archives:
url: /archives
icon: fas fa-archive
About:
url: /about
icon: fas fa-user-circle
Friends:
url: /friends
icon: fas fa-address-book
```
#### Secondary menu configuration method
If you need a secondary menu, you can do the following on the basis of the original basic menu navigation.
1. Add the `children` keyword to the first level menu that needs to add a secondary menu (eg: add `children` under the `About` menu)
2. Create a secondary menu name, path url and icon icon under `children`.
3. Note that each secondary menu module must be preceded by `-`.
4. Note the indentation format.
```yaml
menu:
Index:
url: /
icon: fas fa-home
Tags:
url: /tags
icon: fas fa-tags
Categories:
url: /categories
icon: fas fa-bookmark
Archives:
url: /archives
icon: fas fa-archive
About:
url: /about
icon: fas fa-user-circle
Friends:
url: /friends
icon: fas fa-address-book
Medias:
icon: fas fa-list
children:
- name: Musics
url: /musics
icon: fas fa-music
- name: Movies
url: /movies
icon: fas fa-film
- name: Books
url: /books
icon: fas fa-book
- name: Galleries
url: /galleries
icon: fas fa-image
```
### Add emoji support (Optional)
This theme adds support for the `emoji` emoticon, using the Hexo plugin for [hexo-filter-github-emojis] (https://npm.taobao.org/package/hexo-filter-github-emojis) to support The generation of the `emoji` expression, the corresponding `markdown emoji` syntax (`::`, for example: `:smile:`) is converted into a `emoji` expression that jumps. The installation command is as follows:
```bash
npm install hexo-filter-github-emojis --save
```
Add configuration of `_config.yml` file in Hexo root folder as follows:
```yaml
githubEmojis:
enable: true
className: github-emoji
inject: true
styles:
customEmojis:
```
Execute `hexo clean && hexo g` to regenerate the blog file, and then you can see the expression you wrote in the `emoji` grammar in the corresponding position in the article.
### Code highlight
Hexo theme uses Hexo's plugin[hexo-prism-plugin](https://github.com/ele828/hexo-prism-plugin) to show the code highlight instead of its own theme.The Installation commands are as follows:
```bash
npm i -S hexo-prism-plugin
```
Then,modify the value of `highlight.enable` to `false` in `_config.yml` file of Hexo root folder,and add the configuration of `prism` plugin as follows:
```yaml
highlight:
enable: false
prism_plugin:
mode: 'preprocess' # realtime/preprocess
theme: 'tomorrow'
line_number: false # default false
custom_css:
```
### Search
The theme uses the Hexo plugin[hexo-generator-search](https://github.com/wzpan/hexo-generator-search) to search the content,and the Installation commands are as follows:
```bash
npm install hexo-generator-search --save
```
Add configuration of `_config.yml` file in Hexo root folder as follows:
```yaml
search:
path: search.xml
field: post
```
### Translate Chinese Link to Pinyin (Optional)
Defualt permalinks of Hexo will include Chinese if your atrticle's title is Chinese.But it's adverse to `SEO`,and `gitment` comments don't suport Chinese Link as well.We can use the [hexo-permalink-pinyin](https://github.com/viko16/hexo-permalink-pinyin) of Hexo plugin to generate permalinks of Chinese Pinyin when generating posts.
Installation commands are as follows:
```bash
npm i hexo-permalink-pinyin --save
```
Add such configurations in `_config.yml` file of Hexo:
```yaml
permalink_pinyin:
enable: true
separator: '-' # default: '-'
```
> **Note*:[hexo-abbrlink](https://github.com/rozbo/hexo-abbrlink) can genarate non-Chinese link in addtion to this plugin.
### Post word count statistics plugin (Optional)
If you want to display the post word count and reading time information in the post detail page, you can install the [hexo-wordcount](https://github.com/willin/hexo-wordcount) plugin.
Installation commands are as follows:
```bash
npm i --save hexo-wordcount
```
Then just activate the following configuration items in the theme `_config.yml` file:
```yaml
wordCount:
enable: false # Set this value to true.
postWordCount: true
min2read: true
totalCount: true
```
### Add RSS feed support (Optional)
The theme uses the Hexo plugin[hexo-generator-feed](https://github.com/hexojs/hexo-generator-feed) to support `RSS` feed , and the Installation commands are as follows:
```bash
npm install hexo-generator-feed --save
```
Add configuration of `_config.yml` file in Hexo root folder as follows:
```yaml
feed:
type: atom
path: atom.xml
limit: 20
hub:
content:
content_limit: 140
content_limit_delim: ' '
order_by: -date
```
Execute `hexo clean && hexo g` to regenerate the blog file, and then you can see the `atom.xml` file in the `public` folder, indicating that you have successfully installed.
### [DaoVoice](http://www.daovoice.io/) online chat (Optional)
Go to the official website of [DaoVoice](http://www.daovoice.io/), register and get the `app_id`. Fill the `app_id` into the the theme `_config.yml` file.
### [Tidio](https://www.tidio.com/) online chat (Optional)
Go to the official website of [Tidio](https://www.tidio.com/), register and get the `Public Key`. Fill the `Public Key` into the the theme `_config.yml` file.
### Modify website footer
Website footer may need to be customized, and it is not convenient to make configuration information, So need to modify and process it by yourself. The changes are in the `/layout/_partial/footer.ejs` file, including the site, the theme used, the amount of traffic and so on.
### Modify social links
In the theme `_config.yml` file, the configurations of `QQ`, `GitHub` and mailbox and more are supported by default. In the `/layout/_partial/social-link.ejs` file of the theme, you can add or modify the social link address as you need. To add a link, please refer to the following code:
```html
<% if (theme.socialLink.github) { %>
<a href="<%= theme.socialLink.github %>" class="tooltipped" target="_blank" data-tooltip="访问我的GitHub" data-position="top" data-delay="50">
<i class="fab fa-github"></i>
</a>
<% } %>
```
You can search social icon such as `fab fa-github` in [Font Awesome](https://fontawesome.com/icons).There are common social icons you can reference:
- Facebook: `fab fa-facebook`
- Twitter: `fab fa-twitter`
- Google-plus: `fab fa-google-plus`
- Linkedin: `fab fa-linkedin`
- Tumblr: `fab fa-tumblr`
- Medium: `fab fa-medium`
- Slack: `fab fa-slack`
- Sina Weibo: `fab fa-weibo`
- Wechat: `fab fa-weixin`
- QQ: `fab fa-qq`
- Zhihu: `fab fa-zhihu`
> **Note**: The version of `Font Awesome` is `5.11.0`.
### Configure music player (optional)
To support music playing, you must activate the file of music playing configuration and music data.
First, create a new `musics.json` file in the `_data` directory (new if you don't have one) of your blog's `source` directory. The contents of the file are as follows:
```json
[{
"name": "五月雨变奏电音",
"artist": "AnimeVibe",
"url": "http://xxx.com/music1.mp3",
"cover": "http://xxx.com/music-cover1.png"
}, {
"name": "Take me hand",
"artist": "DAISHI DANCE,Cecile Corbel",
"url": "/medias/music/music2.mp3",
"cover": "/medias/music/cover2.png"
}, {
"name": "Shape of You",
"artist": "J.Fla",
"url": "http://xxx.com/music3.mp3",
"cover": "http://xxx.com/music-cover3.png"
}]
```
> **Note**: The properties in the above JSON: `name`, `artist`, `url`, `cover` indicate the name of the music, the author, the music file address, and the music cover, respectively.
Then, activate the configuration in the theme's `_config.yml` configuration file:
```yaml
# Whether to display the musics.
music:
enable: true
showTitle: false
title: Listen to music
fixed: false # enable fixed mode
autoplay: false # audio autoplay
theme: '#42b983'
loop: 'all' # player loop play, values: 'all', 'one', 'none'
order: 'list' # player play order, values: 'list', 'random'
preload: 'auto' # values: 'none', 'metadata', 'auto'
volume: 0.7 # default volume, notice that player will remember user setting, default volume will not work after user set volume themselves
listFolded: false # indicate whether list should folded at first
listMaxHeight: # list max height
```
## Post Front-matter
### Detailed Front-matter options
Everything in the Front-matter option is **not required**. But I still recommend at least filling in the values of `title` and `date`.
| Options | Defaults | Description |
| ---------- | --------------------------- | ------------------------------------------------------------ |
| title | Markdown's file title | Post title, it is highly recommended to fill in this option |
| date | Date and time when the file created | Publish time, it is highly recommended to fill in this option, and it is best to ensure that it is globally unique |
| author | `author` in root `_config.yml` | Post author |
| img | a value in `featureImages` | Post feature image,For exampl: `http://xxx.com/xxx.jpg` |
| top | `true` | Recommended post (whether the post is topped), if the `top` value is `true`, it will be recommended as a homepage post. |
| cover | `false` | The `v1.0.2` version is added to indicate whether the post needs to be added to the homepage carousel cover. |
| coverImg | null | The new version of `v1.0.2` indicates that the post needs to display the image path on the cover of the homepage. If not, the default image of the post is used by default. |
| password | null | The post read the password. If you want to set the reading verification password for the article, you can set the value of `password`, which must be encrypted with `SHA256` to prevent others from seeing it. The premise is that the `verifyPassword` option is activated in the theme's `config.yml` |
| toc | `true` | Whether TOC is turned on or not, you can turn off the TOC function for an article. The premise is that the `toc` option is activated in the theme's `config.yml` |
| mathjax | `false` | Whether to enable math formula support, whether this article starts `mathjax`, and you need to open it in the theme `_config.yml` file. |
| summary | null | Post summary, custom post summary content, if the attribute has a value, the post card summary will display the text, otherwise the program will automatically intercept part of the article as a summary |
| categories | null | Article classification, the classification of this topic represents a macroscopically large classification, only one article is recommended for one classification. |
| tags | null | Post label, a post can have multiple labels |
| reprintPolicy | cc_by | Post reprint policy, value could be one of cc_by, cc_by_nd, cc_by_sa, cc_by_nc, cc_by_nc_nd, cc_by_nc_sa, cc0, noreprint and pay |
> **Note**:
> 1. post's featured piature will take remainder if not writing the `img` property,and chose the featured picture of theme to let all of post's picture **have their own characteristics**.
> 2. The value of `date` should try to ensure that each article is unique, because `Gitalk` and `Gitment` recognize `id` in this topic are uniquely identified by the value of `date`.
> 3. If you want to set the ability to read the verification password for the article, you should not only set the value of the password with SHA256 encryption in Front-matter, but also activate the configuration in the theme `_config.yml`.
> 4. you can define reprint policy for a single article in the front-matter of the specific md file using this key: reprintPolicy
The following are examples of the post's `Front-matter`.
### The simplest example
```yaml
---
title: typora-vue-theme Theme introduction
date: 2018-09-07 09:25:00
---
```
### The most comprehensive example
```yaml
---
title: typora-vue-theme Theme introduction
date: 2018-09-07 09:25:00
author: Qi Zhao
img: /source/images/xxx.jpg
top: true
cover: true
coverImg: /images/1.jpg
password: 8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92
toc: false
mathjax: false
summary: This is the content of your custom post summary. If there is a value for this attribute, the post card summary will display the text, otherwise the program will automatically intercept part of the post content as a summary.
categories: Markdown
tags:
- Typora
- Markdown
---
```
## Screenshot
### Home





## Custom modification
You can modify some custom modification in `_config.yml` as follows:
- Menu
- My dream
- Home music player and video player configuration
- Whether to display the title of the recommended posts
- `favicon` and `Logo`
- profiles
- TOC
- post rewards
- Append copyright information when copying article content
- MathJax
- Post word count, reading times
- the 'love' effect of clicking on the page
- My Projects
- My Skills
- My Gallery
- Gitalk, Gitment, Valine and Disqus
- [Busuanzi Statistics](http://busuanzi.ibruce.info/) And Google Analytics
- The map of default featured pictures. The theme will take remainde according to `hashcode` of post title if the post dose not set featured piactures.
**I think everyone should have their own style and feature of blog**。if you are not satisfiled with functions and theme color,you can modify by yourself,and more free functions and deatil need to be modified by modify source code when it is hard to be finished in `_config.yml`.
### modeing theme color
Search `.bg-color` to modify background color in `/source/css/matery.css` in theme file:
```css
/* The overall background color, including navigation, mobile navigation, footer, tab, etc.. */
.bg-color {
background-image: linear-gradient(to right, #4cbf30 0%, #0f9d58 100%);
}
@-webkit-keyframes rainbow {
/* Dynamically switch background colors. */
}
@keyframes rainbow {
/* Dynamically switch background colors. */
}
```
### Modify banner picture and post's featured pictures
You can change `banner` pictures in `/source/medias/banner` as you like .Theme code can switch dynamically every day and just need 7 pictures.If you master `JavaScript`,you can change it to your favorite swithing logic,such as Random switching.The code of switching `banner`is in `<script></script>` of `/layout/_partial/bg-cover-content.ejs`file.
```javascript
$('.bg-cover').css('background-image', 'url(/medias/banner/' + new Date().getDay() + '.jpg)');
```
There are 24 featured pictures in `/source/medias/featureimages`,you can add or delete,and modify it in `_config.yml` at the sametime.
## Changelog
- v1.2.0
- Added online chat function of [DaoVoice](http://www.daovoice.io/) and [Tidio](https://www.tidio.com/);
- Added the ability to have two levels of menus;
- Added a subtitle for typing effects;
- Added the ability to preload web content;
- Added the configuration function of the home banner whether to switch daily;
- Added the ability to display ICP filing information, which is not enabled by default;
- Added configuration for Baidu analysis;
- Added language display, one-click copy, display line number and other functions of the code block;
- Added the ability to customize the configuration of the home page car map and recommended articles;
- Added article page to display update date;
- Added an icon for the reload rule;
- Modified the layout and display of the sharing;
- Upgraded and updated versions of some dependent libraries;
- other details to modify and optimize;
- v1.1.0
- Added support for `emoji`;
- Added site run time statistics and configuration;
- Added the function of message board, it is not enabled by default;
- Added `Twitter`, `Facebook`, and `zhihu` social links;
- Updated the version of `Valine` to the latest version;
- modification of other minor details;
- v1.0.4
- Added the ability to customize the reprint rules for each post;
- Fix the problem that the custom summary of the previous page and the next page does not display;
- Fixed the problem that the link of the friends link was misplaced and changed to the layout of the waterfall stream;
- Other minor bugs fixes;
- v1.0.3
- Added `TOC` expansion, shrink button and related configuration, this button is displayed by default;
- v1.0.2
- Upgraded the [Materialize](https://materializecss.com/) framework version to `1.0.0`, refactoring and modifying some files or problems during the upgrade process;
- Added a full-screen carousel effect on the front cover of the home page to set more important posts to the home page carousel;
- Fix the first button on the front page is Chinese;
- Fixed an issue where clicking search input on the iPhone to get focus;
- Fixed an issue where the page was enlarged after the input box on the iPhone got focus;
- Fix some posts or UI display issues;
- v1.0.1
- Adjust the file request path of `css` and `js` in the `_config.yml` of the theme, so that you can quickly configure their own CDN;
- Whether the new code is configurable or not, the default is a line break;
- The `TOC` function is activated by default, and the `Front-matter` configuration option for `TOC` is turned off for a post;
- Fixed an issue where the highlighted directory option was inaccurate when scrolling through the post;
- Remove the search box under `IOS` to automatically get the focus attribute, preventing the view from moving up after automatically getting the focus;
- v1.0.0
- Added all the basic features;
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

hexo-theme-matery
A beautiful hexo blog theme with material design and responsive design.一个基于材料设计和响应式设计而成的全面、美观的Hexo主题。
Hexo · 博客

hexo-theme-cactus
:cactus: A responsive, clean and simple theme for Hexo.
Hexo · 博客

hexo-theme-volantis
A Wonderful Theme for Hexo.
Hexo · 博客

hexo-theme-aurora
Hexo Theme Aurora 是一款以极光色彩和渐变 UI 为核心的 Hexo 博客主题,整体走未来感路线。 它的首页采用杂志式网格布局,文章列表与精选区域层次分明,视觉上更接近个人媒体站点而非传统博客。
Hexo · 博客

hexo-theme-Claudia
Claudia 是一款为 Hexo 设计的博客主题,主打简洁外观与易配置。 它支持自动跟随设备深色模式,并在 README 中宣称拥有 90+ 的 Lighthouse 评分,适合追求轻量与性能的博客作者。
Hexo · 博客

hexo-theme-A4
A hexo theme that looks like an A4 paper.(一个类A4纸张质感的hexo博客主题。 )
Hexo · 博客
