Hexo solves Chinese garbled problem

Questions are as follows

 Solution

npm install hexo-auto-canonical --save

After the installation is successful, add the following configuration code to _config.ymlthe file :

auto_canonical:
  relative: false
  extension: '.html'
 

Run Hexo to generate static pages, and check whether the auto-added canonical markup has been successfully generated.

Guess you like

Origin blog.csdn.net/m0_59281987/article/details/129807138