00. Article publishing failure problem summary?

It will take about 3 minutes to finish reading this article.

Here is a summary of all the possible reasons for publishing failure in Hexo.

1. Header information is incorrect

Please strictly follow the header format:

1
2
3
4
5
6
7
8
9
10
---
title: 00. Article publishing failure problem summary
date: 2023-01-15 14:00:00
categories:
- [Others, 00. others]
tags:
- hexo
- configuration
- tool
---

Note:
There are no empty lines in the first row.
All the keywords ‘title’,’date’,’categories’,’tags’ must be in lower case.

2. Picture does not show

The correct image format is as follows:

3. Change the font

On the basis of this article below:
https://blog.csdn.net/Reinhart_L/article/details/122587975
(1) Enter. / themes/cactus/source/CSS / _variables styl, can change the font;
(2) The available fonts are in . /themes/cactus/source/lib/, cactus comes with only two kinds of ‘meslo-LG’ and ‘vazir-font’, you can download them yourself if you need.

Reference

[1] Why should we avoid using closures in Swift structs?
[2] https://github.com/probberechts/hexo-theme-cactus