New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

更新2.6.0后generate生成页面错误 #632

Closed
moreoronce opened this Issue May 19, 2014 · 12 comments

Comments

9 participants
@moreoronce

moreoronce commented May 19, 2014

hexo clean
hexo generate

然后打开页面显示的是:

<%- partial('_partial/head') %>
<%- partial('_partial/header') %>
<%- body %>
<% if (theme.sidebar && theme.sidebar !== 'bottom'){ %> <%- partial('_partial/sidebar') %> <% } %>
<%- partial('_partial/footer') %>
<%- partial('_partial/mobile-nav') %> <%- partial('_partial/after-footer') %>

补充:

theme使用的是默认的landscape

@tommy351

This comment has been minimized.

Show comment
Hide comment
@tommy351

tommy351 May 19, 2014

Member

Did you install EJS renderer? EJS, Stylus, Marked renderer are removed from the core module since 2.6.

Member

tommy351 commented May 19, 2014

Did you install EJS renderer? EJS, Stylus, Marked renderer are removed from the core module since 2.6.

@tommy351 tommy351 added the question label May 19, 2014

@syhily

This comment has been minimized.

Show comment
Hide comment
@syhily

syhily May 19, 2014

为何要移除呢?表示这样子要在每个网站的根目录里面安装一遍,好麻烦的说。

syhily commented May 19, 2014

为何要移除呢?表示这样子要在每个网站的根目录里面安装一遍,好麻烦的说。

@tommy351

This comment has been minimized.

Show comment
Hide comment
@tommy351

tommy351 May 19, 2014

Member

如此一來,renderer 更新可以更加靈活,不需等到核心模組更新時才一併更新。

Member

tommy351 commented May 19, 2014

如此一來,renderer 更新可以更加靈活,不需等到核心模組更新時才一併更新。

@syhily

This comment has been minimized.

Show comment
Hide comment
@syhily

syhily May 19, 2014

似乎作者还没更新文档,快去把文档更新了。

syhily commented May 19, 2014

似乎作者还没更新文档,快去把文档更新了。

@tommy351

This comment has been minimized.

Show comment
Hide comment
@tommy351
Member

tommy351 commented May 19, 2014

@moreoronce

This comment has been minimized.

Show comment
Hide comment
@moreoronce

moreoronce May 19, 2014

抱歉,已解决。

我没有在blog目录执行
npm install hexo-renderer-ejs --save
而是直接在登入后的目录就执行了..

moreoronce commented May 19, 2014

抱歉,已解决。

我没有在blog目录执行
npm install hexo-renderer-ejs --save
而是直接在登入后的目录就执行了..

@tommy351 tommy351 closed this May 19, 2014

@zhangolve

This comment has been minimized.

Show comment
Hide comment
@zhangolve

zhangolve May 24, 2014

谢谢了,这个问题我也遇到了,弄了好几天都没解决。感谢楼上二位。

zhangolve commented May 24, 2014

谢谢了,这个问题我也遇到了,弄了好几天都没解决。感谢楼上二位。

@takumashin

This comment has been minimized.

Show comment
Hide comment
@takumashin

takumashin Jun 15, 2014

我也是 感谢楼上的同学

takumashin commented Jun 15, 2014

我也是 感谢楼上的同学

@heamon7

This comment has been minimized.

Show comment
Hide comment
@heamon7

heamon7 Jul 6, 2014

Thanks a lot for both

heamon7 commented Jul 6, 2014

Thanks a lot for both

@nocLyt

This comment has been minimized.

Show comment
Hide comment
@nocLyt

nocLyt Oct 10, 2014

感谢。

nocLyt commented Oct 10, 2014

感谢。

@qiaohaijun

This comment has been minimized.

Show comment
Hide comment
@qiaohaijun

qiaohaijun commented Feb 25, 2015

thanks

@ferstar

This comment has been minimized.

Show comment
Hide comment
@ferstar

ferstar Aug 31, 2015

多谢楼上

ferstar commented Aug 31, 2015

多谢楼上

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment