{"action":"opened","issue":{"url":"https://api.github.com/repos/hexojs/hexo/issues/1604","labels_url":"https://api.github.com/repos/hexojs/hexo/issues/1604/labels{/name}","comments_url":"https://api.github.com/repos/hexojs/hexo/issues/1604/comments","events_url":"https://api.github.com/repos/hexojs/hexo/issues/1604/events","html_url":"https://github.com/hexojs/hexo/issues/1604","id":118256205,"number":1604,"title":"Hexo 3.1.1 generate Error: expected end of comment, got end of file","user":{"login":"YoungGer","id":7279683,"avatar_url":"https://avatars.githubusercontent.com/u/7279683?v=3","gravatar_id":"","url":"https://api.github.com/users/YoungGer","html_url":"https://github.com/YoungGer","followers_url":"https://api.github.com/users/YoungGer/followers","following_url":"https://api.github.com/users/YoungGer/following{/other_user}","gists_url":"https://api.github.com/users/YoungGer/gists{/gist_id}","starred_url":"https://api.github.com/users/YoungGer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YoungGer/subscriptions","organizations_url":"https://api.github.com/users/YoungGer/orgs","repos_url":"https://api.github.com/users/YoungGer/repos","events_url":"https://api.github.com/users/YoungGer/events{/privacy}","received_events_url":"https://api.github.com/users/YoungGer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-22T10:55:12Z","updated_at":"2015-11-22T10:55:12Z","closed_at":null,"body":"错误的原因：\r\n我想让hexo的menu指向一个新的自定义的html页，而且不采用主题样式。\r\n因此我在`source`文件夹下面建立了`tools`文件夹，在这个文件夹下面放进了`index.html`。\r\n同时在站点的配置文件中增加了\r\n```\r\nskip_render: \r\n  - README.md\r\n  - tools/**s\r\n  - test/*\r\n```\r\n在主题的配置文件中增加了\r\n```\r\nmenu:\r\n  home: /\r\n  categories: /categories\r\n  about: /about\r\n  archives: /archives\r\n  tags: /tags\r\n  tools: /tools\r\n```\r\n\r\n结果报错。\r\n\r\n\r\n错误信息如下：\r\n```\r\nFATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html\r\nError: expected end of comment, got end of file\r\n    at Tokenizer.nextToken (E:\\hexo\\node_modules\\nunjucks\\src\\lexer.js:282:23)\r\n    at Object.extend.nextToken (E:\\hexo\\node_modules\\nunjucks\\src\\parser.js:32:27)\r\n    at Object.extend.peekToken (E:\\hexo\\node_modules\\nunjucks\\src\\parser.js:44:43)\r\n    at Object.extend.parseNodes (E:\\hexo\\node_modules\\nunjucks\\src\\parser.js:1124:38)\r\n    at Object.extend.parseAsRoot (E:\\hexo\\node_modules\\nunjucks\\src\\parser.js:1177:42)\r\n    at Object.module.exports.parse (E:\\hexo\\node_modules\\nunjucks\\src\\parser.js:1199:18)\r\n    at Object.module.exports.compile (E:\\hexo\\node_modules\\nunjucks\\src\\compiler.js:1118:48)\r\n    at Obj.extend._compile (E:\\hexo\\node_modules\\nunjucks\\src\\environment.js:444:35)\r\n    at Obj.extend.compile (E:\\hexo\\node_modules\\nunjucks\\src\\environment.js:433:18)\r\n    at null.<anonymous> (E:\\hexo\\node_modules\\nunjucks\\src\\environment.js:378:22)\r\n    at Object.exports.withPrettyErrors (E:\\hexo\\node_modules\\nunjucks\\src\\lib.js:24:16)\r\n    at Obj.extend.render (E:\\hexo\\node_modules\\nunjucks\\src\\environment.js:374:20)\r\n    at Obj.extend.renderString (E:\\hexo\\node_modules\\nunjucks\\src\\environment.js:261:21)\r\n    at E:\\hexo\\node_modules\\hexo\\lib\\extend\\tag.js:56:9\r\n    at tryCatcher (E:\\hexo\\node_modules\\bluebird\\js\\main\\util.js:26:23)\r\n    at Promise._resolveFromResolver (E:\\hexo\\node_modules\\bluebird\\js\\main\\promise.js:480:31)\r\n    at new Promise (E:\\hexo\\node_modules\\bluebird\\js\\main\\promise.js:70:37)\r\n    at Tag.render (E:\\hexo\\node_modules\\hexo\\lib\\extend\\tag.js:55:10)\r\n    at Object.tagFilter [as onRenderEnd] (E:\\hexo\\node_modules\\hexo\\lib\\hexo\\post.js:253:16)\r\n    at E:\\hexo\\node_modules\\hexo\\lib\\hexo\\render.js:55:19\r\n    at tryCatcher (E:\\hexo\\node_modules\\bluebird\\js\\main\\util.js:26:23)\r\n    at Promise._settlePromiseFromHandler (E:\\hexo\\node_modules\\bluebird\\js\\main\\promise.js:507:31)\r\n    at Promise._settlePromiseAt (E:\\hexo\\node_modules\\bluebird\\js\\main\\promise.js:581:18)\r\n    at Promise._settlePromises (E:\\hexo\\node_modules\\bluebird\\js\\main\\promise.js:697:14)\r\n    at Async._drainQueue (E:\\hexo\\node_modules\\bluebird\\js\\main\\async.js:123:16)\r\n    at Async._drainQueues (E:\\hexo\\node_modules\\bluebird\\js\\main\\async.js:133:10)\r\n    at Immediate.Async.drainQueues [as _onImmediate] (E:\\hexo\\node_modules\\bluebird\\js\\main\\async.js:15:14)\r\n    at processImmediate [as _immediateCallback] (timers.js:383:17)\r\n```\r\n\r\n\r\n但是我把`index.html`改成一个简单的hello word就可以，请问是跟index.html有关系么？\r\nhexo是不是还对index.html进行了一些解析，一些符号可能解析失败？\r\n另外请教下我有自己制作的网页，想从一个menu链接到自己做的网页该如何做啊，谢谢！"}}