Skip to content
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

hexo new page - generate issue #2

Closed
iamedfyi opened this issue Jun 5, 2013 · 0 comments · Fixed by #3
Closed

hexo new page - generate issue #2

iamedfyi opened this issue Jun 5, 2013 · 0 comments · Fixed by #3

Comments

@iamedfyi
Copy link

iamedfyi commented Jun 5, 2013

Hello! Thanks for the great theme.

Pages don't seem to be generating properly when your theme is enabled. This is the error message I get:

hexo new page about
File created at /source/about/index.md
hexo deploy --generate

Loading.

/usr/lib/node_modules/hexo/lib/plugins/console/generate.js:79
if (err) throw new Error('Generate error: ' + i);
^
Error: Generate error: about/index.html
at /usr/lib/node_modules/hexo/lib/plugins/console/generate.js:79:28
at /usr/lib/node_modules/hexo/lib/render.js:120:25
at Object.store.renderer.(anonymous function) as ejs
at /usr/lib/node_modules/hexo/lib/render.js:119:20
at fn (/usr/lib/node_modules/hexo/node_modules/async/lib/async.js:576:34)
at Object._onImmediate (/usr/lib/node_modules/hexo/node_modules/async/lib/async.js:492:34)
at processImmediate as _immediateCallback

This is what is in the page:

title: about
date: 2013-06-03 21:26:30

---
hey!

If I add layout: false hexo will generate:

<p>hey!</p>

Any idea why pages won't generate properly with pithiness html/css?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant