Louris
Louris
进入hexo/node_modules查看是否存在hexo-reference,如果存在安装成功
hexo: 3.8.0 node: v10.15.0 { "name": "hexo-site", "version": "0.0.0", "private": true, "hexo": { "version": "3.8.0" }, "dependencies": { "gulp-htmlclean": "^2.7.22", "gulp-htmlmin": "^5.0.1", "gulp-imagemin": "^5.0.3", "gulp-minify-css": "^1.2.4", "gulp-uglify": "^3.0.1", "hexo": "^3.7.0",...
Google: ``` { StatusCodeError: 403 - "\n\n \n \n Error 403 (Forbidden)!!1\n \n *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png)...
除个别几个不能翻译外(手动添加translate_title也能成功),基本都正常,就是hexo g的时候会报错,其他没什么
> 基本可以断定, 在标题中出现 `&` `+` 字符会导致翻译报错,但是内容(translate title)似乎是可以正常添加进去。 强迫症忍不了,有错不研究也危险,比如百度和有道生成的都是空标题。 > 大佬给整整转义处理一下吧 嗯,我的有+没&,+号去掉就好了