该主题目前无法使用
yxmg opened this issue · comments
- 语法错误,
layout/post.ejs
中<% if(page.tags) %>
应为<% if(page.tags) {%>
- hexo变量问题,
layout/index.ejs
中<% page.posts.forEach(function(post) { %>
,page.posts
不存在,应为site.posts
- 样式指向问题,
layout/_includes/head.ejs
中https://cdn.jsdelivr.net/npm/hexo-theme-pure@1.0.1/dist/main.css
报错404 - 即使解决以上报错,渲染依旧存在问题
感谢指出,已于 abda7b2 中修正。
至于第二点我在本机和 GitHub Actions 中并未复现 ( https://github.com/renbaoshuo/hexo-theme-pure/actions/runs/736009908 ),能否提供一下复现步骤?
现在已经可以正常渲染了。