lh1me / hexo-theme-aomori Goto Github PK
View Code? Open in Web Editor NEW🔥 Minimalist & Powerful Hexo Theme
Home Page: https://hexo-theme-aomori-demo.pages.dev/
License: MIT License
🔥 Minimalist & Powerful Hexo Theme
Home Page: https://hexo-theme-aomori-demo.pages.dev/
License: MIT License
页面整体非常的简洁美观,不过使用的时候偶尔会出现上述问题。
出现这个问题的主要原因是页面滚动到顶部时,函数执行间隔还没有到达30ms,所以函数没被执行。
可以改一下节流函数的代码,加一个延时执行。
怎么能在主页把内容全部或部分折叠起来,而不是展示整篇文章的内容,有的文章太长了,影响上下翻阅
你好,我在切换主题时报错ERROR Render HTML failed: index.html,请问是什么原因呢
https://linhong.me/2020/01/27/hexo-theme-aomori/
A Theme for Hexo.
其实为啥要采用全局的config.aomori_xxx变量,而不采用theme.xxxx的局部变量。根据官网描述在theme下的_comfig.yml配置改变是不用重启的,把个人定制的变量放置theme下感觉会更加友好和方便。
theme/hexo-theme-aomori/_config.yml
version: 1.13.0
language: cn
aomori_logo: /images/avatar.jpg
aomori_menu:
Home: /
Archives: /archives
aomori_widgets:
- toc # 文章导航
- category #文章分类
- tag # 文章标签
- recent_posts # 最新文章
- archive #文章归档
然后使用就是在ejs使用theme.aomori_widgets这样会更香些,个性定制更加灵活
https://linhong.me/2020/05/20/hexo-theme-aomori-tweet/
Aomori Theme 新的文章风格更新,也就是这条的样式。 使用方式非常简单,文章配置增加 layout: tweet
最近出现了评论区gitalk validation failed的问题,查看了gitalk的issuse发现是id过长的问题,需要使用md5来简化id,大佬知道要怎么在gitalk.js里使用md5吗
err: TypeError: D:\blog\blog\themes\hexo-theme-aomori\layout\layout.ejs:16
"Cannot read property 'forEach' of undefined" and "Render HTML failed"
Separate toc and other items into two different containers as they are not that relevant.
layout\_partial\footer.ejs文件
58行改着这个才能成功统计
hm.src = "https://hm.baidu.com/hm.js?<%= config.aomori_baidu_analytics %>";
亲爱的作者你好,我在配置数学公式时操作如下,但是不能显示出数学公式:
1、npm install hexo-math --save
2、站点配置文件
math:
engine: 'mathjax'
mathjax:
3、主题配置文件
math:
enable: true
engine: mathjax
mathjax:
enable: true
cdn: //cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-AMS-MML_HTMLorMML
这3步操作后,在文章中加入数学公式,不能够显示,请问这种问题应该如何去解决,如有答案还请指点,谢谢
亲爱的作者您好,我在设置主页时,发现显示处的文章内容过多,请问这个应该如何解决才能达到demo的文章显示效果
如题
https://linhong.me/2020/05/20/hexo-theme-aomori-tweet/
Aomori Theme 新的文章风格更新,也就是这条的样式。 使用方式非常简单,文章配置增加 layout: tweet
Not everyone likes the default dark green accent color, can it be modified to be configurable?
大佬可以底部固定在最下面么,我菜不会改
置顶显示的控件会遮盖过长的标题,临时截图的链接,布局层次有点问题
分类级别之间可以加大对比吗,或者第一级或者第二级颜色不同,这在哪个文件里
默认的主题没问题。使用这个主题的时候,生成的index.html都是空的。
ERROR {
err: TypeError: /data/data/com.termux/files/home/copy.loafing.cn/themes/hexo-theme-aomori/layout/layout.ejs:20
18| <aside class="sidebar">
19| <% } %>
>> 20| <%- partial('_partial/sidebar') %>
21| </aside>
22| </div>
23| </div>
/data/data/com.termux/files/home/copy.loafing.cn/themes/hexo-theme-aomori/layout/_partial/sidebar.ejs:7
5|
6| <div class="widget" id="widget">
>> 7| <% config.aomori_widgets.forEach(function(widget){ %>
8| <%- partial('_widget/' + widget) %>
9| <% }) %>
10| </div>
Cannot read property 'forEach' of undefined
at eval (/data/data/com.termux/files/home/copy.loafing.cn/themes/hexo-theme-aomori/layout/_partial/sidebar.ejs:19:30)
at sidebar (/data/data/com.termux/files/home/copy.loafing.cn/node_modules/ejs/lib/ejs.js:682:17)
at _View._compiledSync (/data/data/com.termux/files/home/copy.loafing.cn/node_modules/hexo/lib/theme/view.js:132:24)
at _View.renderSync (/data/data/com.termux/files/home/copy.loafing.cn/node_modules/hexo/lib/theme/view.js:59:25)
at Object.partial (/data/data/com.termux/files/home/copy.loafing.cn/node_modules/hexo/lib/plugins/helper/partial.js:34:15)
at eval (/data/data/com.termux/files/home/copy.loafing.cn/themes/hexo-theme-aomori/layout/layout.ejs:26:17)
at layout (/data/data/com.termux/files/home/copy.loafing.cn/node_modules/ejs/lib/ejs.js:682:17)
at _View._compiled (/data/data/com.termux/files/home/copy.loafing.cn/node_modules/hexo/lib/theme/view.js:136:50)
at _View.render (/data/data/com.termux/files/home/copy.loafing.cn/node_modules/hexo/lib/theme/view.js:39:17)
at /data/data/com.termux/files/home/copy.loafing.cn/node_modules/hexo/lib/theme/view.js:51:25
at tryCatcher (/data/data/com.termux/files/home/copy.loafing.cn/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/data/data/com.termux/files/home/copy.loafing.cn/node_modules/bluebird/js/release/promise.js:547:31)
at Promise._settlePromise (/data/data/com.termux/files/home/copy.loafing.cn/node_modules/bluebird/js/release/promise.js:604:18)
at Promise._settlePromise0 (/data/data/com.termux/files/home/copy.loafing.cn/node_modules/bluebird/js/release/promise.js:649:10)
at Promise._settlePromises (/data/data/com.termux/files/home/copy.loafing.cn/node_modules/bluebird/js/release/promise.js:729:18)
at _drainQueueStep (/data/data/com.termux/files/home/copy.loafing.cn/node_modules/bluebird/js/release/async.js:93:12)
at _drainQueue (/data/data/com.termux/files/home/copy.loafing.cn/node_modules/bluebird/js/release/async.js:86:9)
at Async._drainQueues (/data/data/com.termux/files/home/copy.loafing.cn/node_modules/bluebird/js/release/async.js:102:5)
at Immediate.Async.drainQueues [as _onImmediate] (/data/data/com.termux/files/home/copy.loafing.cn/node_modules/bluebird/js/release/async.js:15:14)
at processImmediate (internal/timers.js:456:21) {
path: '/data/data/com.termux/files/home/copy.loafing.cn/themes/hexo-theme-aomori/layout/layout.ejs'
}
} Render HTML failed: index.html
Unhandled rejection TypeError: /data/data/com.termux/files/home/copy.loafing.cn/themes/hexo-theme-aomori/layout/layout.ejs:20
18| <aside class="sidebar">
19| <% } %>
>> 20| <%- partial('_partial/sidebar') %>
21| </aside>
22| </div>
23| </div>
/data/data/com.termux/files/home/copy.loafing.cn/themes/hexo-theme-aomori/layout/_partial/sidebar.ejs:7
5|
6| <div class="widget" id="widget">
>> 7| <% config.aomori_widgets.forEach(function(widget){ %>
8| <%- partial('_widget/' + widget) %>
9| <% }) %>
10| </div>
Cannot read property 'forEach' of undefined
at eval (/data/data/com.termux/files/home/copy.loafing.cn/themes/hexo-theme-aomori/layout/_partial/sidebar.ejs:19:30)
at sidebar (/data/data/com.termux/files/home/copy.loafing.cn/node_modules/ejs/lib/ejs.js:682:17)
at _View._compiledSync (/data/data/com.termux/files/home/copy.loafing.cn/node_modules/hexo/lib/theme/view.js:132:24)
at _View.renderSync (/data/data/com.termux/files/home/copy.loafing.cn/node_modules/hexo/lib/theme/view.js:59:25)
at Object.partial (/data/data/com.termux/files/home/copy.loafing.cn/node_modules/hexo/lib/plugins/helper/partial.js:34:15)
at eval (/data/data/com.termux/files/home/copy.loafing.cn/themes/hexo-theme-aomori/layout/layout.ejs:26:17)
at layout (/data/data/com.termux/files/home/copy.loafing.cn/node_modules/ejs/lib/ejs.js:682:17)
at _View._compiled (/data/data/com.termux/files/home/copy.loafing.cn/node_modules/hexo/lib/theme/view.js:136:50)
at _View.render (/data/data/com.termux/files/home/copy.loafing.cn/node_modules/hexo/lib/theme/view.js:39:17)
at /data/data/com.termux/files/home/copy.loafing.cn/node_modules/hexo/lib/theme/view.js:51:25
at tryCatcher (/data/data/com.termux/files/home/copy.loafing.cn/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/data/data/com.termux/files/home/copy.loafing.cn/node_modules/bluebird/js/release/promise.js:547:31)
at Promise._settlePromise (/data/data/com.termux/files/home/copy.loafing.cn/node_modules/bluebird/js/release/promise.js:604:18)
at Promise._settlePromise0 (/data/data/com.termux/files/home/copy.loafing.cn/node_modules/bluebird/js/release/promise.js:649:10)
at Promise._settlePromises (/data/data/com.termux/files/home/copy.loafing.cn/node_modules/bluebird/js/release/promise.js:729:18)
at _drainQueueStep (/data/data/com.termux/files/home/copy.loafing.cn/node_modules/bluebird/js/release/async.js:93:12)
at _drainQueue (/data/data/com.termux/files/home/copy.loafing.cn/node_modules/bluebird/js/release/async.js:86:9)
at Async._drainQueues (/data/data/com.termux/files/home/copy.loafing.cn/node_modules/bluebird/js/release/async.js:102:5)
at Immediate.Async.drainQueues [as _onImmediate] (/data/data/com.termux/files/home/copy.loafing.cn/node_modules/bluebird/js/release/async.js:15:14)
at processImmediate (internal/timers.js:456:21)
首先博主真的神速,前不久说了这个功能,现在就完成了
但是我配置key的时候出错,这里选择哪个key都不好使,博主使用的是Search-Only API Key还是Usage API Key
刚好前段时间想在博客放个视频,捣鼓半天使用dplayer播放本地视频,结果播放控件全是乱的,无奈只能用iframe,结果刚好你这支持嵌入本地视频,真是太棒了,而且效果还很好,不过有个问题是播放视频时卡顿,这是我自己服务器的问题吗,而且使用video的时候,源如果是链接的话,会导致播放不了吗
报错信息如下
INFO Validating config
INFO Start processing
INFO Hexo is running at http://localhost:4000 . Press Ctrl+C to stop.
ERROR {
err: TypeError: /hexo/themes/hexo-theme-aomori/layout/layout.ejs:20
18| <aside class="sidebar">
19| <% } %>
>> 20| <%- partial('_partial/sidebar') %>
21| </aside>
22| </div>
23| </div>
/hexo/themes/hexo-theme-aomori/layout/_partial/sidebar.ejs:7
5|
6| <div class="widget" id="widget">
>> 7| <% config.aomori_widgets.forEach(function(widget){ %>
8| <%- partial('_widget/' + widget) %>
9| <% }) %>
10| </div>
Cannot read property 'forEach' of undefined
at eval (/hexo/themes/hexo-theme-aomori/layout/_partial/sidebar.ejs:21:30)
at sidebar (/hexo/node_modules/ejs/lib/ejs.js:682:17)
at _View._compiledSync (/hexo/node_modules/hexo/lib/theme/view.js:132:24)
at _View.renderSync (/hexo/node_modules/hexo/lib/theme/view.js:59:25)
at Object.partial (/hexo/node_modules/hexo/lib/plugins/helper/partial.js:34:15)
at eval (/hexo/themes/hexo-theme-aomori/layout/layout.ejs:28:17)
at layout (/hexo/node_modules/ejs/lib/ejs.js:682:17)
at _View._compiled (/hexo/node_modules/hexo/lib/theme/view.js:136:50)
at _View.render (/hexo/node_modules/hexo/lib/theme/view.js:39:17)
at /hexo/node_modules/hexo/lib/theme/view.js:51:25
at tryCatcher (/hexo/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/hexo/node_modules/bluebird/js/release/promise.js:547:31)
at Promise._settlePromise (/hexo/node_modules/bluebird/js/release/promise.js:604:18)
at Promise._settlePromise0 (/hexo/node_modules/bluebird/js/release/promise.js:649:10)
at Promise._settlePromises (/hexo/node_modules/bluebird/js/release/promise.js:729:18)
at _drainQueueStep (/hexo/node_modules/bluebird/js/release/async.js:93:12)
at _drainQueue (/hexo/node_modules/bluebird/js/release/async.js:86:9)
at Async._drainQueues (/hexo/node_modules/bluebird/js/release/async.js:102:5)
at Immediate.Async.drainQueues [as _onImmediate] (/hexo/node_modules/bluebird/js/release/async.js:15:14)
at processImmediate (node:internal/timers:463:21) {
path: '/hexo/themes/hexo-theme-aomori/layout/layout.ejs'
}
} Render HTML failed: index.html
Unhandled rejection TypeError: /hexo/themes/hexo-theme-aomori/layout/layout.ejs:20
18| <aside class="sidebar">
19| <% } %>
>> 20| <%- partial('_partial/sidebar') %>
21| </aside>
22| </div>
23| </div>
/hexo/themes/hexo-theme-aomori/layout/_partial/sidebar.ejs:7
5|
6| <div class="widget" id="widget">
>> 7| <% config.aomori_widgets.forEach(function(widget){ %>
8| <%- partial('_widget/' + widget) %>
9| <% }) %>
10| </div>
Cannot read property 'forEach' of undefined
at eval (/hexo/themes/hexo-theme-aomori/layout/_partial/sidebar.ejs:21:30)
at sidebar (/hexo/node_modules/ejs/lib/ejs.js:682:17)
at _View._compiledSync (/hexo/node_modules/hexo/lib/theme/view.js:132:24)
at _View.renderSync (/hexo/node_modules/hexo/lib/theme/view.js:59:25)
at Object.partial (/hexo/node_modules/hexo/lib/plugins/helper/partial.js:34:15)
at eval (/hexo/themes/hexo-theme-aomori/layout/layout.ejs:28:17)
at layout (/hexo/node_modules/ejs/lib/ejs.js:682:17)
at _View._compiled (/hexo/node_modules/hexo/lib/theme/view.js:136:50)
at _View.render (/hexo/node_modules/hexo/lib/theme/view.js:39:17)
at /hexo/node_modules/hexo/lib/theme/view.js:51:25
at tryCatcher (/hexo/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/hexo/node_modules/bluebird/js/release/promise.js:547:31)
at Promise._settlePromise (/hexo/node_modules/bluebird/js/release/promise.js:604:18)
at Promise._settlePromise0 (/hexo/node_modules/bluebird/js/release/promise.js:649:10)
at Promise._settlePromises (/hexo/node_modules/bluebird/js/release/promise.js:729:18)
at _drainQueueStep (/hexo/node_modules/bluebird/js/release/async.js:93:12)
at _drainQueue (/hexo/node_modules/bluebird/js/release/async.js:86:9)
at Async._drainQueues (/hexo/node_modules/bluebird/js/release/async.js:102:5)
at Immediate.Async.drainQueues [as _onImmediate] (/hexo/node_modules/bluebird/js/release/async.js:15:14)
at processImmediate (node:internal/timers:463:21)
软件版本:
INFO Validating config
hexo: 5.2.0
hexo-cli: 4.2.0
os: Darwin 19.6.0 darwin x64
node: 15.3.0
v8: 8.6.395.17-node.22
uv: 1.40.0
zlib: 1.2.11
brotli: 1.0.9
ares: 1.16.1
modules: 88
nghttp2: 1.41.0
napi: 7
llhttp: 2.1.3
openssl: 1.1.1g
cldr: 37.0
icu: 67.1
tz: 2019c
unicode: 13.0
主题很好看,但是安装过程出现了问题,google 找不到相关解决办法,希望可以告知怎么解决。
INFO Validating config
INFO Start processing
INFO Hexo is running at http://localhost:4000 . Press Ctrl+C to stop.
ERROR {
err: TypeError: /Users/jo/Documents/Hexo/JosApp/themes/hexo-theme-aomori/layout/layout.ejs:20
18| <aside class="sidebar">
19| <% } %>
>> 20| <%- partial('_partial/sidebar') %>
21| </aside>
22| </div>
23| </div>
/Users/jo/Documents/Hexo/JosApp/themes/hexo-theme-aomori/layout/_partial/sidebar.ejs:7
5|
6| <div class="widget" id="widget">
>> 7| <% config.aomori_widgets.forEach(function(widget){ %>
8| <%- partial('_widget/' + widget) %>
9| <% }) %>
10| </div>
Cannot read property 'forEach' of undefined
at eval (/Users/jo/Documents/Hexo/JosApp/themes/hexo-theme-aomori/layout/_partial/sidebar.ejs:21:30)
at sidebar (/Users/jo/Documents/Hexo/JosApp/node_modules/ejs/lib/ejs.js:682:17)
at _View._compiledSync (/Users/jo/Documents/Hexo/JosApp/node_modules/hexo/lib/theme/view.js:132:24)
at _View.renderSync (/Users/jo/Documents/Hexo/JosApp/node_modules/hexo/lib/theme/view.js:59:25)
at Object.partial (/Users/jo/Documents/Hexo/JosApp/node_modules/hexo/lib/plugins/helper/partial.js:34:15)
at eval (/Users/jo/Documents/Hexo/JosApp/themes/hexo-theme-aomori/layout/layout.ejs:28:17)
at layout (/Users/jo/Documents/Hexo/JosApp/node_modules/ejs/lib/ejs.js:682:17)
at _View._compiled (/Users/jo/Documents/Hexo/JosApp/node_modules/hexo/lib/theme/view.js:136:50)
at _View.render (/Users/jo/Documents/Hexo/JosApp/node_modules/hexo/lib/theme/view.js:39:17)
at /Users/jo/Documents/Hexo/JosApp/node_modules/hexo/lib/theme/view.js:51:25
at tryCatcher (/Users/jo/Documents/Hexo/JosApp/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/Users/jo/Documents/Hexo/JosApp/node_modules/bluebird/js/release/promise.js:547:31)
at Promise._settlePromise (/Users/jo/Documents/Hexo/JosApp/node_modules/bluebird/js/release/promise.js:604:18)
at Promise._settlePromise0 (/Users/jo/Documents/Hexo/JosApp/node_modules/bluebird/js/release/promise.js:649:10)
at Promise._settlePromises (/Users/jo/Documents/Hexo/JosApp/node_modules/bluebird/js/release/promise.js:729:18)
at _drainQueueStep (/Users/jo/Documents/Hexo/JosApp/node_modules/bluebird/js/release/async.js:93:12)
at _drainQueue (/Users/jo/Documents/Hexo/JosApp/node_modules/bluebird/js/release/async.js:86:9)
at Async._drainQueues (/Users/jo/Documents/Hexo/JosApp/node_modules/bluebird/js/release/async.js:102:5)
at Immediate.Async.drainQueues [as _onImmediate] (/Users/jo/Documents/Hexo/JosApp/node_modules/bluebird/js/release/async.js:15:14)
at processImmediate (node:internal/timers:464:21) {
path: '/Users/jo/Documents/Hexo/JosApp/themes/hexo-theme-aomori/layout/layout.ejs'
}
} Render HTML failed: index.html
先感谢一波作者开发这么好看的主题,在这里提一个遇到的问题
我的测试环境分别是 windows 10/nodejs v8.12.0/hexo-theme-aomori v1.5.2 和 Ubuntu18.04/nodejs v12.18.2/hexo-theme-aomori v1.5.2 ,在这两个环境下貌似都出了一样的错误
以下是我创建项目的过程
node init blog
cd blog
npm install
解压到 themes 之后,修改了 _config.yml 中 highlight
和 theme
为
highlight:
enable: false
line_number: true
auto_detect: false
tab_replace: ''
wrap: true
hljs: false
theme: hexo-theme-aomori
之后执行 generate
和 server
hexo g -d
hexo s
在解析 index.html
时出现错误,下面贴上 windows10 环境的报错
C:\Users\PureT\Desktop\blog\blog>hexo g -d
INFO Start processing
INFO Files loaded in 128 ms
ERROR Render HTML failed: 2020/07/22/hello-world/index.html
TypeError: C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\layout.ejs:16
14| <aside class="sidebar">
15| <div class="widget">
>> 16| <%- partial('_partial/sidebar') %>
17| </div>
18| <div id="backtop"><i class="icon icon-arrow-up"></i></div>
19| </aside>
C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\_partial\sidebar.ejs:2
1|
>> 2| <% config.aomori_widgets.forEach(function(widget){ %>
3| <%- partial('_widget/' + widget) %>
4| <% }) %>
Cannot read property 'forEach' of undefined
at eval (C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\_partial\sidebar.ejs:12:30)
at sidebar (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo-renderer-ejs\node_modules\ejs\lib\ejs.js:682:17)
at viewFn._compiledSync.locals [as _compiledSync] (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:132:22)
at viewFn.View.renderSync (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:60:23)
at Object.partial (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\plugins\helper\partial.js:34:15)
at eval (C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\layout.ejs:19:17)
at layout (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo-renderer-ejs\node_modules\ejs\lib\ejs.js:682:17)
at viewFn._compiled.locals [as _compiled] (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:136:48)
at viewFn.View.render (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:41:15)
at _compiled.then.result (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:52:23)
at tryCatcher (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:547:31)
at Promise._settlePromise (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:604:18)
at Promise._settlePromise0 (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:649:10)
at Promise._settlePromises (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:729:18)
at _drainQueueStep (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:93:12)
at _drainQueue (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:86:9)
at Async._drainQueues (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:102:5)
at Immediate.Async.drainQueues (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:15:14)
at runCallback (timers.js:810:20)
at tryOnImmediate (timers.js:768:5)
at processImmediate [as _immediateCallback] (timers.js:745:5)
ERROR Render HTML failed: archives/2020/index.html
TypeError: C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\layout.ejs:16
14| <aside class="sidebar">
15| <div class="widget">
>> 16| <%- partial('_partial/sidebar') %>
17| </div>
18| <div id="backtop"><i class="icon icon-arrow-up"></i></div>
19| </aside>
C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\_partial\sidebar.ejs:2
1|
>> 2| <% config.aomori_widgets.forEach(function(widget){ %>
3| <%- partial('_widget/' + widget) %>
4| <% }) %>
Cannot read property 'forEach' of undefined
at eval (C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\_partial\sidebar.ejs:12:30)
at sidebar (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo-renderer-ejs\node_modules\ejs\lib\ejs.js:682:17)
at viewFn._compiledSync.locals [as _compiledSync] (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:132:22)
at viewFn.View.renderSync (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:60:23)
at Object.partial (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\plugins\helper\partial.js:34:15)
at eval (C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\layout.ejs:19:17)
at layout (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo-renderer-ejs\node_modules\ejs\lib\ejs.js:682:17)
at viewFn._compiled.locals [as _compiled] (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:136:48)
at viewFn.View.render (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:41:15)
at _compiled.then.result (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:52:23)
at tryCatcher (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:547:31)
at Promise._settlePromise (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:604:18)
at Promise._settlePromise0 (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:649:10)
at Promise._settlePromises (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:729:18)
at _drainQueueStep (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:93:12)
at _drainQueue (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:86:9)
at Async._drainQueues (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:102:5)
at Immediate.Async.drainQueues (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:15:14)
at runCallback (timers.js:810:20)
at tryOnImmediate (timers.js:768:5)
at processImmediate [as _immediateCallback] (timers.js:745:5)
ERROR Render HTML failed: archives/index.html
TypeError: C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\layout.ejs:16
14| <aside class="sidebar">
15| <div class="widget">
>> 16| <%- partial('_partial/sidebar') %>
17| </div>
18| <div id="backtop"><i class="icon icon-arrow-up"></i></div>
19| </aside>
C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\_partial\sidebar.ejs:2
1|
>> 2| <% config.aomori_widgets.forEach(function(widget){ %>
3| <%- partial('_widget/' + widget) %>
4| <% }) %>
Cannot read property 'forEach' of undefined
at eval (C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\_partial\sidebar.ejs:12:30)
at sidebar (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo-renderer-ejs\node_modules\ejs\lib\ejs.js:682:17)
at viewFn._compiledSync.locals [as _compiledSync] (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:132:22)
at viewFn.View.renderSync (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:60:23)
at Object.partial (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\plugins\helper\partial.js:34:15)
at eval (C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\layout.ejs:19:17)
at layout (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo-renderer-ejs\node_modules\ejs\lib\ejs.js:682:17)
at viewFn._compiled.locals [as _compiled] (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:136:48)
at viewFn.View.render (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:41:15)
at _compiled.then.result (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:52:23)
at tryCatcher (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:547:31)
at Promise._settlePromise (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:604:18)
at Promise._settlePromise0 (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:649:10)
at Promise._settlePromises (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:729:18)
at _drainQueueStep (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:93:12)
at _drainQueue (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:86:9)
at Async._drainQueues (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:102:5)
at Immediate.Async.drainQueues (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:15:14)
at runCallback (timers.js:810:20)
at tryOnImmediate (timers.js:768:5)
at processImmediate [as _immediateCallback] (timers.js:745:5)
ERROR Render HTML failed: archives/2020/07/index.html
TypeError: C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\layout.ejs:16
14| <aside class="sidebar">
15| <div class="widget">
>> 16| <%- partial('_partial/sidebar') %>
17| </div>
18| <div id="backtop"><i class="icon icon-arrow-up"></i></div>
19| </aside>
C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\_partial\sidebar.ejs:2
1|
>> 2| <% config.aomori_widgets.forEach(function(widget){ %>
3| <%- partial('_widget/' + widget) %>
4| <% }) %>
Cannot read property 'forEach' of undefined
at eval (C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\_partial\sidebar.ejs:12:30)
at sidebar (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo-renderer-ejs\node_modules\ejs\lib\ejs.js:682:17)
at viewFn._compiledSync.locals [as _compiledSync] (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:132:22)
at viewFn.View.renderSync (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:60:23)
at Object.partial (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\plugins\helper\partial.js:34:15)
at eval (C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\layout.ejs:19:17)
at layout (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo-renderer-ejs\node_modules\ejs\lib\ejs.js:682:17)
at viewFn._compiled.locals [as _compiled] (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:136:48)
at viewFn.View.render (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:41:15)
at _compiled.then.result (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:52:23)
at tryCatcher (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:547:31)
at Promise._settlePromise (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:604:18)
at Promise._settlePromise0 (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:649:10)
at Promise._settlePromises (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:729:18)
at _drainQueueStep (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:93:12)
at _drainQueue (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:86:9)
at Async._drainQueues (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:102:5)
at Immediate.Async.drainQueues (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:15:14)
at runCallback (timers.js:810:20)
at tryOnImmediate (timers.js:768:5)
at processImmediate [as _immediateCallback] (timers.js:745:5)
ERROR C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\layout.ejs:16
14| <aside class="sidebar">
15| <div class="widget">
>> 16| <%- partial('_partial/sidebar') %>
17| </div>
18| <div id="backtop"><i class="icon icon-arrow-up"></i></div>
19| </aside>
C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\_partial\sidebar.ejs:2
1|
>> 2| <% config.aomori_widgets.forEach(function(widget){ %>
3| <%- partial('_widget/' + widget) %>
4| <% }) %>
Cannot read property 'forEach' of undefined
TypeError: C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\layout.ejs:16
14| <aside class="sidebar">
15| <div class="widget">
>> 16| <%- partial('_partial/sidebar') %>
17| </div>
18| <div id="backtop"><i class="icon icon-arrow-up"></i></div>
19| </aside>
C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\_partial\sidebar.ejs:2
1|
>> 2| <% config.aomori_widgets.forEach(function(widget){ %>
3| <%- partial('_widget/' + widget) %>
4| <% }) %>
Cannot read property 'forEach' of undefined
at eval (C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\_partial\sidebar.ejs:12:30)
at sidebar (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo-renderer-ejs\node_modules\ejs\lib\ejs.js:682:17)
at viewFn._compiledSync.locals [as _compiledSync] (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:132:22)
at viewFn.View.renderSync (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:60:23)
at Object.partial (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\plugins\helper\partial.js:34:15)
at eval (C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\layout.ejs:19:17)
at layout (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo-renderer-ejs\node_modules\ejs\lib\ejs.js:682:17)
at viewFn._compiled.locals [as _compiled] (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:136:48)
at viewFn.View.render (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:41:15)
at _compiled.then.result (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:52:23)
at tryCatcher (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:547:31)
at Promise._settlePromise (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:604:18)
at Promise._settlePromise0 (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:649:10)
at Promise._settlePromises (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:729:18)
at _drainQueueStep (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:93:12)
at _drainQueue (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:86:9)
at Async._drainQueues (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:102:5)
at Immediate.Async.drainQueues (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:15:14)
at runCallback (timers.js:810:20)
at tryOnImmediate (timers.js:768:5)
at processImmediate [as _immediateCallback] (timers.js:745:5)
ERROR C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\layout.ejs:16
14| <aside class="sidebar">
15| <div class="widget">
>> 16| <%- partial('_partial/sidebar') %>
17| </div>
18| <div id="backtop"><i class="icon icon-arrow-up"></i></div>
19| </aside>
C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\_partial\sidebar.ejs:2
1|
>> 2| <% config.aomori_widgets.forEach(function(widget){ %>
3| <%- partial('_widget/' + widget) %>
4| <% }) %>
Cannot read property 'forEach' of undefined
TypeError: C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\layout.ejs:16
14| <aside class="sidebar">
15| <div class="widget">
>> 16| <%- partial('_partial/sidebar') %>
17| </div>
18| <div id="backtop"><i class="icon icon-arrow-up"></i></div>
19| </aside>
C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\_partial\sidebar.ejs:2
1|
>> 2| <% config.aomori_widgets.forEach(function(widget){ %>
3| <%- partial('_widget/' + widget) %>
4| <% }) %>
Cannot read property 'forEach' of undefined
at eval (C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\_partial\sidebar.ejs:12:30)
at sidebar (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo-renderer-ejs\node_modules\ejs\lib\ejs.js:682:17)
at viewFn._compiledSync.locals [as _compiledSync] (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:132:22)
at viewFn.View.renderSync (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:60:23)
at Object.partial (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\plugins\helper\partial.js:34:15)
at eval (C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\layout.ejs:19:17)
at layout (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo-renderer-ejs\node_modules\ejs\lib\ejs.js:682:17)
at viewFn._compiled.locals [as _compiled] (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:136:48)
at viewFn.View.render (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:41:15)
at _compiled.then.result (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:52:23)
at tryCatcher (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:547:31)
at Promise._settlePromise (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:604:18)
at Promise._settlePromise0 (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:649:10)
at Promise._settlePromises (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:729:18)
at _drainQueueStep (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:93:12)
at _drainQueue (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:86:9)
at Async._drainQueues (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:102:5)
at Immediate.Async.drainQueues (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:15:14)
at runCallback (timers.js:810:20)
at tryOnImmediate (timers.js:768:5)
at processImmediate [as _immediateCallback] (timers.js:745:5)
ERROR C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\layout.ejs:16
14| <aside class="sidebar">
15| <div class="widget">
>> 16| <%- partial('_partial/sidebar') %>
17| </div>
18| <div id="backtop"><i class="icon icon-arrow-up"></i></div>
19| </aside>
C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\_partial\sidebar.ejs:2
1|
>> 2| <% config.aomori_widgets.forEach(function(widget){ %>
3| <%- partial('_widget/' + widget) %>
4| <% }) %>
Cannot read property 'forEach' of undefined
TypeError: C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\layout.ejs:16
14| <aside class="sidebar">
15| <div class="widget">
>> 16| <%- partial('_partial/sidebar') %>
17| </div>
18| <div id="backtop"><i class="icon icon-arrow-up"></i></div>
19| </aside>
C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\_partial\sidebar.ejs:2
1|
>> 2| <% config.aomori_widgets.forEach(function(widget){ %>
3| <%- partial('_widget/' + widget) %>
4| <% }) %>
Cannot read property 'forEach' of undefined
at eval (C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\_partial\sidebar.ejs:12:30)
at sidebar (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo-renderer-ejs\node_modules\ejs\lib\ejs.js:682:17)
at viewFn._compiledSync.locals [as _compiledSync] (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:132:22)
at viewFn.View.renderSync (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:60:23)
at Object.partial (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\plugins\helper\partial.js:34:15)
at eval (C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\layout.ejs:19:17)
at layout (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo-renderer-ejs\node_modules\ejs\lib\ejs.js:682:17)
at viewFn._compiled.locals [as _compiled] (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:136:48)
at viewFn.View.render (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:41:15)
at _compiled.then.result (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:52:23)
at tryCatcher (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:547:31)
at Promise._settlePromise (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:604:18)
at Promise._settlePromise0 (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:649:10)
at Promise._settlePromises (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:729:18)
at _drainQueueStep (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:93:12)
at _drainQueue (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:86:9)
at Async._drainQueues (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:102:5)
at Immediate.Async.drainQueues (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:15:14)
at runCallback (timers.js:810:20)
at tryOnImmediate (timers.js:768:5)
at processImmediate [as _immediateCallback] (timers.js:745:5)
ERROR C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\layout.ejs:16
14| <aside class="sidebar">
15| <div class="widget">
>> 16| <%- partial('_partial/sidebar') %>
17| </div>
18| <div id="backtop"><i class="icon icon-arrow-up"></i></div>
19| </aside>
C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\_partial\sidebar.ejs:2
1|
>> 2| <% config.aomori_widgets.forEach(function(widget){ %>
3| <%- partial('_widget/' + widget) %>
4| <% }) %>
Cannot read property 'forEach' of undefined
TypeError: C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\layout.ejs:16
14| <aside class="sidebar">
15| <div class="widget">
>> 16| <%- partial('_partial/sidebar') %>
17| </div>
18| <div id="backtop"><i class="icon icon-arrow-up"></i></div>
19| </aside>
C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\_partial\sidebar.ejs:2
1|
>> 2| <% config.aomori_widgets.forEach(function(widget){ %>
3| <%- partial('_widget/' + widget) %>
4| <% }) %>
Cannot read property 'forEach' of undefined
at eval (C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\_partial\sidebar.ejs:12:30)
at sidebar (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo-renderer-ejs\node_modules\ejs\lib\ejs.js:682:17)
at viewFn._compiledSync.locals [as _compiledSync] (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:132:22)
at viewFn.View.renderSync (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:60:23)
at Object.partial (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\plugins\helper\partial.js:34:15)
at eval (C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\layout.ejs:19:17)
at layout (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo-renderer-ejs\node_modules\ejs\lib\ejs.js:682:17)
at viewFn._compiled.locals [as _compiled] (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:136:48)
at viewFn.View.render (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:41:15)
at _compiled.then.result (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:52:23)
at tryCatcher (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:547:31)
at Promise._settlePromise (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:604:18)
at Promise._settlePromise0 (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:649:10)
at Promise._settlePromises (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:729:18)
at _drainQueueStep (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:93:12)
at _drainQueue (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:86:9)
at Async._drainQueues (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:102:5)
at Immediate.Async.drainQueues (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:15:14)
at runCallback (timers.js:810:20)
at tryOnImmediate (timers.js:768:5)
at processImmediate [as _immediateCallback] (timers.js:745:5)
ERROR Render HTML failed: index.html
TypeError: C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\layout.ejs:16
14| <aside class="sidebar">
15| <div class="widget">
>> 16| <%- partial('_partial/sidebar') %>
17| </div>
18| <div id="backtop"><i class="icon icon-arrow-up"></i></div>
19| </aside>
C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\_partial\sidebar.ejs:2
1|
>> 2| <% config.aomori_widgets.forEach(function(widget){ %>
3| <%- partial('_widget/' + widget) %>
4| <% }) %>
Cannot read property 'forEach' of undefined
at eval (C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\_partial\sidebar.ejs:12:30)
at sidebar (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo-renderer-ejs\node_modules\ejs\lib\ejs.js:682:17)
at viewFn._compiledSync.locals [as _compiledSync] (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:132:22)
at viewFn.View.renderSync (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:60:23)
at Object.partial (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\plugins\helper\partial.js:34:15)
at eval (C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\layout.ejs:19:17)
at layout (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo-renderer-ejs\node_modules\ejs\lib\ejs.js:682:17)
at viewFn._compiled.locals [as _compiled] (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:136:48)
at viewFn.View.render (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:41:15)
at _compiled.then.result (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:52:23)
at tryCatcher (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:547:31)
at Promise._settlePromise (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:604:18)
at Promise._settlePromise0 (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:649:10)
at Promise._settlePromises (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:729:18)
at _drainQueueStep (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:93:12)
at _drainQueue (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:86:9)
at Async._drainQueues (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:102:5)
at Immediate.Async.drainQueues (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:15:14)
at runCallback (timers.js:810:20)
at tryOnImmediate (timers.js:768:5)
at processImmediate [as _immediateCallback] (timers.js:745:5)
ERROR C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\layout.ejs:16
14| <aside class="sidebar">
15| <div class="widget">
>> 16| <%- partial('_partial/sidebar') %>
17| </div>
18| <div id="backtop"><i class="icon icon-arrow-up"></i></div>
19| </aside>
C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\_partial\sidebar.ejs:2
1|
>> 2| <% config.aomori_widgets.forEach(function(widget){ %>
3| <%- partial('_widget/' + widget) %>
4| <% }) %>
Cannot read property 'forEach' of undefined
TypeError: C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\layout.ejs:16
14| <aside class="sidebar">
15| <div class="widget">
>> 16| <%- partial('_partial/sidebar') %>
17| </div>
18| <div id="backtop"><i class="icon icon-arrow-up"></i></div>
19| </aside>
C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\_partial\sidebar.ejs:2
1|
>> 2| <% config.aomori_widgets.forEach(function(widget){ %>
3| <%- partial('_widget/' + widget) %>
4| <% }) %>
Cannot read property 'forEach' of undefined
at eval (C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\_partial\sidebar.ejs:12:30)
at sidebar (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo-renderer-ejs\node_modules\ejs\lib\ejs.js:682:17)
at viewFn._compiledSync.locals [as _compiledSync] (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:132:22)
at viewFn.View.renderSync (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:60:23)
at Object.partial (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\plugins\helper\partial.js:34:15)
at eval (C:\Users\PureT\Desktop\blog\blog\themes\hexo-theme-aomori\layout\layout.ejs:19:17)
at layout (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo-renderer-ejs\node_modules\ejs\lib\ejs.js:682:17)
at viewFn._compiled.locals [as _compiled] (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:136:48)
at viewFn.View.render (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:41:15)
at _compiled.then.result (C:\Users\PureT\Desktop\blog\blog\node_modules\hexo\lib\theme\view.js:52:23)
at tryCatcher (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:547:31)
at Promise._settlePromise (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:604:18)
at Promise._settlePromise0 (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:649:10)
at Promise._settlePromises (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\promise.js:729:18)
at _drainQueueStep (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:93:12)
at _drainQueue (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:86:9)
at Async._drainQueues (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:102:5)
at Immediate.Async.drainQueues (C:\Users\PureT\Desktop\blog\blog\node_modules\bluebird\js\release\async.js:15:14)
at runCallback (timers.js:810:20)
at tryOnImmediate (timers.js:768:5)
at processImmediate [as _immediateCallback] (timers.js:745:5)
INFO 0 files generated in 117 ms
辛苦看下问题了
I have followed the manual up to the Using section as below:
Then, I tried to run "hexo server", but I get this error:
Unhandled rejection TypeError: /Users/geonsookim/Desktop/miknai.github.io/themes/hexo-theme-aomori/layout/layout.ejs:20
18|
/Users/geonsookim/Desktop/miknai.github.io/themes/hexo-theme-aomori/layout/_partial/sidebar.ejs:7
5|
6|
Cannot read property 'forEach' of undefined
footer没有贴近底部
可以这样修改css属性
//添加
.footer{
position: relative;
}
//修改
.main{
min-height: calc(100vh - 200px);
}
在终端输入hexo new page about
,并在_config.yml
中添加了头部菜单About: /about
,部署后出现报错,如下:
ERROR Error: E:\50368\Documents\Hexo\blog\node_modules\hexo-theme-aomori\layout\page.ejs:3
1|
2| <div class="<%= page.layout %>">
>> 3| <%- partial(`_partial/page/${page.layout}`, {post: page, index: false}) %>
4| </div>
Partial _partial/page/about does not exist. (in page.ejs)
at Object.partial (E:\50368\Documents\Hexo\blog\node_modules\hexo\lib\plugins\helper\partial.js:16:11)
at eval (E:\50368\Documents\Hexo\blog\node_modules\hexo-theme-aomori\layout\page.ejs:15:17)
at page (E:\50368\Documents\Hexo\blog\node_modules\ejs\lib\ejs.js:682:17)
at _View._compiled (E:\50368\Documents\Hexo\blog\node_modules\hexo\lib\theme\view.js:136:50)
at _View.render (E:\50368\Documents\Hexo\blog\node_modules\hexo\lib\theme\view.js:39:17)
at E:\50368\Documents\Hexo\blog\node_modules\hexo\lib\hexo\index.js:64:21
at tryCatcher (E:\50368\Documents\Hexo\blog\node_modules\bluebird\js\release\util.js:16:23)
at E:\50368\Documents\Hexo\blog\node_modules\bluebird\js\release\method.js:15:34
at RouteStream._read (E:\50368\Documents\Hexo\blog\node_modules\hexo\lib\hexo\router.js:47:5)
at RouteStream.Readable.read (internal/streams/readable.js:481:10)
at resume_ (internal/streams/readable.js:968:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
path: 'E:\\50368\\Documents\\Hexo\\blog\\node_modules\\hexo-theme-aomori\\layout\\page.ejs'
}
PS:相同步骤创建友情链接页面正常
先謝謝大大做的這個主題,我個人非常喜歡。
但自己在設置的過程中發現沒辦法正確的顯示 icon
aomori_social:
-
icon: github
type:
url: my-github-url
頁面上是能夠按到超連結的,但卻沒辦法顯示圖案,不知道是我哪裡做錯了
感謝您~
https://linhong.me/2020/05/20/hexo-theme-aomori-tweet/
Aomori Theme 新的文章风格更新,也就是这条的样式。 使用方式非常简单,文章配置增加 layout: tweet
我不咋会写前端 没找到对应的代码 谢谢大佬🧍♂️
看了下网络请求显示301 moved permanently
就这两个icon
没有截图
本地运行可以正常显示,放到服务器上就无法显示了
repo还有admin这些填什么,有没有样例看看,还有社交媒体这个,文档说的不是很清楚
您好!我有个疑问就是参照你的配置,但是始终不能像demo那样展示文章的格式,包含图片和标题文字。
可以发一份demo的参考md文件和_config文件吗,非常感谢!
亲爱的博主您好
很希望能够加一些自己喜欢的元素在自己的博客中
请问我应该如何操作才能更换主题的大背景图,以及背景图的尺寸大小是多少。
你好,
刚刚开始用hexo,翻到了你的主题,好喜欢侧边栏和目录结合啊,好酷!
请问你有没有想法增加tag功能,或者方便指路怎么自己写嘛
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.