hexo-theme-material
hexo-theme-material copied to clipboard
第一次使用就报错
ERROR Render HTML failed: 2020/05/20/hello-world/index.html TypeError: D:\Program\Blog\themes\material\layout\layout.ejs:3 1| 2| <html style="display: none;" <% if(config.language !== null) { %>lang="<%- config.language.substring(0,2) %>"<% } %>>
3| <%- partial('_partial/head') %> 4| 5| <% if(page.layout === 'gallery') { %> 6|
没有做任何操作除了重命名配置文件
我也是,没有做任何操作除了重命名配置文件
这个应该是没有设置评论系统导致的,可以先配置下
可参考这个issue解决: https://github.com/bolnh/hexo-theme-material/issues/686
我也是,没有做任何操作除了重命名配置文件
这个是因为hexo新版本中,把url_for 放到了dist文件夹下 全局搜索下面的的字符串,然后修改
“../../../../node_modules/hexo/lib/plugins/helper/url_for“ 修改成 “../../../../node_modules/hexo/dist/plugins/helper/url_for“