文章的Front-matter填写top: true
就置顶了。
1 | top: true |
这是一个示例博客。源码目录:https://github.com/mxclub/example
文章的Front-matter填写top: true
就置顶了。
1 | top: true |
这是一个示例博客。源码目录:https://github.com/mxclub/example
在Front-matter找到或者新增meta
,需要隐藏哪个meta标签将其置为false
。例如:
1 |
|
这只会在page页面内生效而不会在列表中生效。
如果使用<!-- more -->
来实现摘要,则<!-- more -->
前后一定要有空行,不然可能导致显示错位。
1 | 这是摘要 |
在主目录找到或者新增language
,例如:
1 | language: |
博客将按照给定的优先级显示语言。
写法示例:
1 |
|
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
1 | $ hexo new "My New Post" |
More info: Writing
1 | $ hexo server |
More info: Server
1 | $ hexo generate |
More info: Generating
1 | $ hexo deploy |
More info: Deployment
1 |
|
This is a image test post.
This post doesn’t have a title. Make sure it’s accessible.
1 / 3