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 #196

Closed
iamedfyi opened this issue Jun 4, 2013 · 3 comments
Closed

hexo new page #196

iamedfyi opened this issue Jun 4, 2013 · 3 comments

Comments

@iamedfyi
Copy link

iamedfyi commented Jun 4, 2013

After trying to generate and deploy a page I created through hexo I received this error code:

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

Not sure how to correct this. I haven't seen hexo blogs with links to pages other than archives, rss and outgoing links. Are pages not rendering properly yet or is this some sort of error on my part?

Please advise.

@tommy351
Copy link
Member

tommy351 commented Jun 5, 2013

Can you post the file content?

@iamedfyi
Copy link
Author

iamedfyi commented Jun 5, 2013

Sure thing.

source/about/index.md only has the following in it:

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

@iamedfyi iamedfyi closed this as completed Jun 5, 2013
@iamedfyi iamedfyi reopened this Jun 5, 2013
@iamedfyi
Copy link
Author

iamedfyi commented Jun 5, 2013

Just realized problem lies in the theme I'm working with.

Thanks for stopping by, at least!

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

No branches or pull requests

2 participants