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 | --- |
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