博文
这是我第一次使用Fluid主题,这篇文章记录了作者不断使用这个主题的收获
博客
于今日搭建好博客,现在做一个记录
1 | |
hexo博客博文撰写篇之完美笔记大攻略终极完全版 | 夜法之书
使用hexo new “post-title” 创建一个标题为post-title的md格式的文章
使用hexo new draft “draft title” 创建一个标题为draft title的草稿文章
使用hexo new page “page title” 创建一个标题为page title的纯页面
新建文章
hexo n "tltile"1
2
3
4
5
2. 在`_post`下的`title`文件夹中放入图片,用markdown引用
~~~markdown

文章加封面
在
/source/img中放入图片在开头
Front-matter中配置index_img属性如下:1
index_img: [url]文章简介
1
2
3>这是添加文章的简历,可以让首页文章的展示更加美观
>
<!-- more -->
分类页
创建分类页
1
hexo new page categories在
source/categories/index.md开头Front-matter中添加type: "categories"如下1
2
3
4
5---
title: categories
date: 2022-01-15 21:30:40
type: "categories"
---在博客的头部添加
categories: - type即可分类1
2
3
4---
title: hexo博客搭建
categories: [categories1, categories2]
---
标签页
创建标签页
1
hexo new page tags在
source/tags/index.md开头Front-matter中添加type: "tags"如下1
2
3
4
5---
title: categories
date: 2022-01-15 21:30:40
type: "tags"
---在博客的头部添加
tags: [tag1, tag2, ...]即可分类1
2
3
4---
title: hexo博客搭建
tags: [tag1, tag2]
---
博文
http://example.com/2025/02/19/博文/