Once the blog is done, it needs to be added to the page.
According to the language version of the document, put zh-cn
or en-us
in the blog
directory, which can be one or more level directory depths.
After the document is placed in the directory of the corresponding language, it needs to be configured in site_config/blog.js
. The link
field is used to configure the access address. Note that this path needs to start with a language (/zh-cn
or /en-us
).
For example, if a blog is /blog/zh-cn/demo/xxx.md
, the configuration value of the link field is /zh-cn/blog/demo/xxx.html
.