theme.about.icons is not iterable
at eval (G:\temp\hexo-blog-source\themes\fluid\layout\about.ejs:25:38)
at about (G:\temp\hexo-blog-source\node_modules\ejs\lib\ejs.js:682:17)
at viewFn._compiled (G:\temp\hexo-blog-source\node_modules\hexo\lib\theme\view.js:136:48)
at viewFn.View.render (G:\temp\hexo-blog-source\node_modules\hexo\lib\theme\view.js:41:15)
at G:\temp\hexo-blog-source\node_modules\hexo\lib\hexo\index.js:61:21
at tryCatcher (G:\temp\hexo-blog-source\node_modules\bluebird\js\release\util.js:16:23)
at G:\temp\hexo-blog-source\node_modules\bluebird\js\release\method.js:15:34
at RouteStream._read (G:\temp\hexo-blog-source\node_modules\hexo\lib\hexo\router.js:126:3)
at RouteStream.Readable.read (_stream_readable.js:468:10)
at resume_ (_stream_readable.js:982:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
Unhandled rejection TypeError: G:\temp\hexo-blog-source\themes\fluid\layout\about.ejs:15
13| <div class="about-intro"><%- theme.about.introduce %></div>
14| <div class="about-icons">
>> 15| <% for(const each of theme.about.icons) { %>
16| <% if (!each.class) continue; %>
17| <% var cls = each.class %>
18| <% var isQr = each.qrcode %>
theme.about.icons is not iterable
at eval (G:\temp\hexo-blog-source\themes\fluid\layout\about.ejs:25:38)
at about (G:\temp\hexo-blog-source\node_modules\ejs\lib\ejs.js:682:17)
at viewFn._compiled (G:\temp\hexo-blog-source\node_modules\hexo\lib\theme\view.js:136:48)
at viewFn.View.render (G:\temp\hexo-blog-source\node_modules\hexo\lib\theme\view.js:41:15)
at G:\temp\hexo-blog-source\node_modules\hexo\lib\hexo\index.js:61:21
at tryCatcher (G:\temp\hexo-blog-source\node_modules\bluebird\js\release\util.js:16:23)
at G:\temp\hexo-blog-source\node_modules\bluebird\js\release\method.js:15:34
at RouteStream._read (G:\temp\hexo-blog-source\node_modules\hexo\lib\hexo\router.js:126:3)
at RouteStream.Readable.read (_stream_readable.js:468:10)
at resume_ (_stream_readable.js:982:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
尝试过clean并generate,但并不起作用,并且在hexo g #的时候也会报错,报错信息与前面相同,我在另一个已经关闭的issue #154 也看到了相同的问题,他的解决办法也是保留一个icon,但我现在并不想保留任何icon,求教其他解决办法,谢谢。
请确认
问题描述
当我把关于页配置下面的icon全部注释掉之后会报错,页面也打不开,但是如果保留一个icon就不会报错。 配置内容如下:
报错信息:
尝试过clean并generate,但并不起作用,并且在hexo g #的时候也会报错,报错信息与前面相同,我在另一个已经关闭的issue #154 也看到了相同的问题,他的解决办法也是保留一个icon,但我现在并不想保留任何icon,求教其他解决办法,谢谢。