zerokiseki / hexo-theme-gal Goto Github PK
View Code? Open in Web Editor NEW忧郁的弟弟网站主题移植
License: MIT License
忧郁的弟弟网站主题移植
License: MIT License
能否增加类似于ng-alain静态网站的登录插件这类的插件,增加用户登录这块的功能。看到其他模板有出这个了,但是其他模板不好看,只能希望您能出
logo 默认跳转到 yoursite.com 怎么修改啊
按照教程上配的,我的github pages绑定了个人域名
https//:hongbb.top
OAuth配置如下,应该是没有错误的
_config.yml的配置如下,保证client_id 和 client_secret没有填错
comment:
gitment:
enable: true
owner: 'JJXiangJiaoJun' # 必填项, 你的GitHub ID
repo: 'JJXiangJiaoJun.github.io' # 必填项 你的存储评论的repo
oauth:
client_id: 'd7df3d5d159f81371d76' # 必填项
client_secret: '3794527fca067871d3795782ae7fd14f94ce3a74' # 必填项
redirect_uri: # 可以填也可以不填
设置后博客上显示 Error: Comments Not Initialized
点击 登录 按钮后,无法跳转到github授权界面
浏览器上信息为 https://hongbb.top/?error=redirect_uri_mismatch&error_description=The+redirect_uri+MUST+match+the+registered+callback+URL+for+this+application.&error_uri=https%3A%2F%2Fdeveloper.github.com%2Fapps%2Fmanaging-oauth-apps%2Ftroubleshooting-authorization-request-errors%2F%23redirect-uri-mismatch
看起来好像是call-back url填错了,不过我试了 原来的URL也没用
但是只有其他三个显示,唯独这个不显示.我也修改了显示的个数.
https://pheromone.github.io/ 请帮我看看是哪里出错了.谢谢
ERROR /home/lhl/blogs/themes/hexo-theme-gal/layout/layout.ejs:1
1| <%- partial('_partial/head') %>
2|
3|
4| <%- partial('_partial/slideshow.ejs') %>
/home/lhl/blogs/themes/hexo-theme-gal/layout/_partial/head.ejs:41
39| }
40| </style>
41| <% if(theme.leancloud.appid && theme.leancloud.appkey) { %>
42| <script src="//cdn1.lncld.net/static/js/3.4.2/av-min.js"></script>
43| <script>
44| AV.init({
Cannot read property 'appid' of undefined
请问该如何解决,谢谢!
因为背景图片是一直随机并且透明度和大小是变化的,看久了影响文章的阅读,所以想暂时关闭。
请问一下该如何关闭。
遇到几次了,总是出现403的问题
在运行hexo的命令时,其他都执行成功,但是在最前面会多两个错误:
$ hexo g (node:9948) [DEP0061] DeprecationWarning: fs.SyncWriteStream is deprecated. ERROR Plugin load failed: hexo-renderer-sass Error: EISDIR: illegal operation on a directory, read ERROR Plugin load failed: hexo-renderer-scss Error: EISDIR: illegal operation on a directory, read INFO Start processing INFO Files loaded in 273 ms
请问这个该怎么解决,站点根目录下的_config.yml已经加了jsonContent节点
INFO Hexo is running at http://localhost:4000/. Press Ctrl+C to stop.
Unhandled rejection TypeError: D:\amandayi.github.io\themes\gal\layout\layout.ej
s:16
14| <%- body %>
15|
16| <%- partial('_partial/sidebar') %>
17|
18|
19|
D:\amandayi.github.io\themes\gal\layout_partial\sidebar.ejs:3
1|
3| <%- partial('_widget/author') %>
4| <% if(theme.sidebar.recent_comments) { %>
5| <%- partial('_widget/recent_comments') %>
6| <% } %>
D:\amandayi.github.io\themes\gal\layout_widget\author.ejs:11
9| <img src="<%- url_for(/https?:///.test(theme.author_image)
? theme.author_image : imgs/${theme.author_image}
) %>" width="140" height="140
"
10| alt="个人头像" class="author-image">
11|
<%- markdown(config.descriptio
n) %>
12|
13|
14|
No input file or string!
at Render.renderSync (D:\amandayi.github.io\node_modules\hexo\lib\hexo\rende
r.js:86:27)
at Object.render (D:\amandayi.github.io\node_modules\hexo\lib\plugins\helper
\render.js:5:23)
at Object.wrapper [as render] (D:\amandayi.github.io\node_modules\lodash\lod
ash.js:4941:19)
at Object.markdownHelper (D:\amandayi.github.io\node_modules\hexo\lib\plugin
s\helper\markdown.js:4:15)
at Object.wrapper [as markdown] (D:\amandayi.github.io\node_modules\lodash\l
odash.js:4941:19)
at eval (eval at compile (D:\amandayi.github.io\node_modules\ejs\lib\ejs.js:
549:12), :18:17)
at returnedFn (D:\amandayi.github.io\node_modules\ejs\lib\ejs.js:580:17)
at _compiledSync (D:\amandayi.github.io\node_modules\hexo\lib\theme\view.js:
122:20)
at View.renderSync (D:\amandayi.github.io\node_modules\hexo\lib\theme\view.j
s:50:21)
at Object.partial (D:\amandayi.github.io\node_modules\hexo\lib\plugins\helpe
r\partial.js:42:17)
at Object.wrapper (D:\amandayi.github.io\node_modules\lodash\lodash.js:4941:
19)
at eval (eval at compile (D:\amandayi.github.io\node_modules\ejs\lib\ejs.js:
如题,求问。还是说热度不是根据点击量来的,而是需要作者设定一个值,或者是随机生成的?
大家都是怎么管理自己的文章的,有没有好的办法拿出来分享一下?另外有人可以回答一下标签和分类怎么设置吗?第一次玩求指导啊
按照要求把需要的东西已经安装,但还是报错~
hexo g报错内容:
INFO Start processing
INFO Files loaded in 924 ms
Unhandled rejection TypeError: E:\Blog\themes\hexo-theme-gal-master\layout\layout.ejs:16
14| <%- body %>
15| </div>
>> 16| <%- partial('_partial/sidebar') %>
17| </div>
18| </div>
19| </div>
E:\Blog\themes\hexo-theme-gal-master\layout\_partial\sidebar.ejs:3
1| <aside class="col-md-4 gal-left" id="sidebar">
2| <%- partial('_widget/search') %>
>> 3| <%- partial('_widget/author') %>
4| <% if(theme.sidebar.recent_comments) { %>
5| <%- partial('_widget/recent_comments') %>
6| <% } %>
E:\Blog\themes\hexo-theme-gal-master\layout\_widget\author.ejs:11
9| <img src="<%- url_for(/https?:\/\//.test(theme.author_image) ? theme.author_image : `imgs/${theme.author_image}`) %>" width="140" height="140"
10| alt="个人头像" class="author-image">
>> 11| <p class="author-description"><%- markdown(config.description) %></p>
12| </div>
13| </div>
14| </aside>
No input file or string!
at Render.renderSync (E:\Blog\node_modules\hexo\lib\hexo\render.js:86:27)
at Object.render (E:\Blog\node_modules\hexo\lib\plugins\helper\render.js:5:23)
at Object.wrapper [as render] (E:\Blog\node_modules\lodash\lodash.js:4968:19)
at Object.markdownHelper (E:\Blog\node_modules\hexo\lib\plugins\helper\markdown.js:4:15)
at Object.wrapper [as markdown] (E:\Blog\node_modules\lodash\lodash.js:4968:19)
at eval (eval at exports.compile (E:\Blog\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:31:150)
at eval (eval at exports.compile (E:\Blog\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:31:231)
at E:\Blog\node_modules\ejs\lib\ejs.js:255:15
at Theme._View.View._compiledSync (E:\Blog\node_modules\hexo\lib\theme\view.js:122:20)
at Theme._View.View.View.renderSync (E:\Blog\node_modules\hexo\lib\theme\view.js:50:21)
at Object.partial (E:\Blog\node_modules\hexo\lib\plugins\helper\partial.js:42:17)
at Object.wrapper [as partial] (E:\Blog\node_modules\lodash\lodash.js:4968:19)
at eval (eval at exports.compile (E:\Blog\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:30:146)
at eval (eval at exports.compile (E:\Blog\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:30:2536)
at E:\Blog\node_modules\ejs\lib\ejs.js:255:15
at Theme._View.View._compiledSync (E:\Blog\node_modules\hexo\lib\theme\view.js:122:20)
at Theme._View.View.View.renderSync (E:\Blog\node_modules\hexo\lib\theme\view.js:50:21)
at Object.partial (E:\Blog\node_modules\hexo\lib\plugins\helper\partial.js:42:17)
at Object.wrapper [as partial] (E:\Blog\node_modules\lodash\lodash.js:4968:19)
at eval (eval at exports.compile (E:\Blog\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:30:693)
at eval (eval at exports.compile (E:\Blog\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:30:4472)
at E:\Blog\node_modules\ejs\lib\ejs.js:255:15
Unhandled rejection TypeError: E:\Blog\themes\hexo-theme-gal-master\layout\layout.ejs:16
14| <%- body %>
15| </div>
>> 16| <%- partial('_partial/sidebar') %>
17| </div>
18| </div>
19| </div>
E:\Blog\themes\hexo-theme-gal-master\layout\_partial\sidebar.ejs:3
1| <aside class="col-md-4 gal-left" id="sidebar">
2| <%- partial('_widget/search') %>
>> 3| <%- partial('_widget/author') %>
4| <% if(theme.sidebar.recent_comments) { %>
5| <%- partial('_widget/recent_comments') %>
6| <% } %>
E:\Blog\themes\hexo-theme-gal-master\layout\_widget\author.ejs:11
9| <img src="<%- url_for(/https?:\/\//.test(theme.author_image) ? theme.author_image : `imgs/${theme.author_image}`) %>" width="140" height="140"
10| alt="个人头像" class="author-image">
>> 11| <p class="author-description"><%- markdown(config.description) %></p>
12| </div>
13| </div>
14| </aside>
No input file or string!
at Render.renderSync (E:\Blog\node_modules\hexo\lib\hexo\render.js:86:27)
at Object.render (E:\Blog\node_modules\hexo\lib\plugins\helper\render.js:5:23)
at Object.wrapper [as render] (E:\Blog\node_modules\lodash\lodash.js:4968:19)
at Object.markdownHelper (E:\Blog\node_modules\hexo\lib\plugins\helper\markdown.js:4:15)
at Object.wrapper [as markdown] (E:\Blog\node_modules\lodash\lodash.js:4968:19)
at eval (eval at exports.compile (E:\Blog\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:31:150)
at eval (eval at exports.compile (E:\Blog\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:31:231)
at E:\Blog\node_modules\ejs\lib\ejs.js:255:15
at Theme._View.View._compiledSync (E:\Blog\node_modules\hexo\lib\theme\view.js:122:20)
at Theme._View.View.View.renderSync (E:\Blog\node_modules\hexo\lib\theme\view.js:50:21)
at Object.partial (E:\Blog\node_modules\hexo\lib\plugins\helper\partial.js:42:17)
at Object.wrapper [as partial] (E:\Blog\node_modules\lodash\lodash.js:4968:19)
at eval (eval at exports.compile (E:\Blog\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:30:146)
at eval (eval at exports.compile (E:\Blog\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:30:2536)
at E:\Blog\node_modules\ejs\lib\ejs.js:255:15
at Theme._View.View._compiledSync (E:\Blog\node_modules\hexo\lib\theme\view.js:122:20)
at Theme._View.View.View.renderSync (E:\Blog\node_modules\hexo\lib\theme\view.js:50:21)
at Object.partial (E:\Blog\node_modules\hexo\lib\plugins\helper\partial.js:42:17)
at Object.wrapper [as partial] (E:\Blog\node_modules\lodash\lodash.js:4968:19)
at eval (eval at exports.compile (E:\Blog\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:30:693)
at eval (eval at exports.compile (E:\Blog\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:30:4472)
at E:\Blog\node_modules\ejs\lib\ejs.js:255:15
Unhandled rejection TypeError: E:\Blog\themes\hexo-theme-gal-master\layout\layout.ejs:16
14| <%- body %>
15| </div>
>> 16| <%- partial('_partial/sidebar') %>
17| </div>
18| </div>
19| </div>
E:\Blog\themes\hexo-theme-gal-master\layout\_partial\sidebar.ejs:3
1| <aside class="col-md-4 gal-left" id="sidebar">
2| <%- partial('_widget/search') %>
>> 3| <%- partial('_widget/author') %>
4| <% if(theme.sidebar.recent_comments) { %>
5| <%- partial('_widget/recent_comments') %>
6| <% } %>
E:\Blog\themes\hexo-theme-gal-master\layout\_widget\author.ejs:11
9| <img src="<%- url_for(/https?:\/\//.test(theme.author_image) ? theme.author_image : `imgs/${theme.author_image}`) %>" width="140" height="140"
10| alt="个人头像" class="author-image">
>> 11| <p class="author-description"><%- markdown(config.description) %></p>
12| </div>
13| </div>
14| </aside>
No input file or string!
at Render.renderSync (E:\Blog\node_modules\hexo\lib\hexo\render.js:86:27)
at Object.render (E:\Blog\node_modules\hexo\lib\plugins\helper\render.js:5:23)
at Object.wrapper [as render] (E:\Blog\node_modules\lodash\lodash.js:4968:19)
at Object.markdownHelper (E:\Blog\node_modules\hexo\lib\plugins\helper\markdown.js:4:15)
at Object.wrapper [as markdown] (E:\Blog\node_modules\lodash\lodash.js:4968:19)
at eval (eval at exports.compile (E:\Blog\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:31:150)
at eval (eval at exports.compile (E:\Blog\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:31:231)
at E:\Blog\node_modules\ejs\lib\ejs.js:255:15
at Theme._View.View._compiledSync (E:\Blog\node_modules\hexo\lib\theme\view.js:122:20)
at Theme._View.View.View.renderSync (E:\Blog\node_modules\hexo\lib\theme\view.js:50:21)
at Object.partial (E:\Blog\node_modules\hexo\lib\plugins\helper\partial.js:42:17)
at Object.wrapper [as partial] (E:\Blog\node_modules\lodash\lodash.js:4968:19)
at eval (eval at exports.compile (E:\Blog\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:30:146)
at eval (eval at exports.compile (E:\Blog\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:30:2536)
at E:\Blog\node_modules\ejs\lib\ejs.js:255:15
at Theme._View.View._compiledSync (E:\Blog\node_modules\hexo\lib\theme\view.js:122:20)
at Theme._View.View.View.renderSync (E:\Blog\node_modules\hexo\lib\theme\view.js:50:21)
at Object.partial (E:\Blog\node_modules\hexo\lib\plugins\helper\partial.js:42:17)
at Object.wrapper [as partial] (E:\Blog\node_modules\lodash\lodash.js:4968:19)
at eval (eval at exports.compile (E:\Blog\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:30:693)
at eval (eval at exports.compile (E:\Blog\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:30:4472)
at E:\Blog\node_modules\ejs\lib\ejs.js:255:15
Unhandled rejection TypeError: E:\Blog\themes\hexo-theme-gal-master\layout\layout.ejs:16
14| <%- body %>
15| </div>
>> 16| <%- partial('_partial/sidebar') %>
17| </div>
18| </div>
19| </div>
E:\Blog\themes\hexo-theme-gal-master\layout\_partial\sidebar.ejs:3
1| <aside class="col-md-4 gal-left" id="sidebar">
2| <%- partial('_widget/search') %>
>> 3| <%- partial('_widget/author') %>
4| <% if(theme.sidebar.recent_comments) { %>
5| <%- partial('_widget/recent_comments') %>
6| <% } %>
E:\Blog\themes\hexo-theme-gal-master\layout\_widget\author.ejs:11
9| <img src="<%- url_for(/https?:\/\//.test(theme.author_image) ? theme.author_image : `imgs/${theme.author_image}`) %>" width="140" height="140"
10| alt="个人头像" class="author-image">
>> 11| <p class="author-description"><%- markdown(config.description) %></p>
12| </div>
13| </div>
14| </aside>
No input file or string!
at Render.renderSync (E:\Blog\node_modules\hexo\lib\hexo\render.js:86:27)
at Object.render (E:\Blog\node_modules\hexo\lib\plugins\helper\render.js:5:23)
at Object.wrapper [as render] (E:\Blog\node_modules\lodash\lodash.js:4968:19)
at Object.markdownHelper (E:\Blog\node_modules\hexo\lib\plugins\helper\markdown.js:4:15)
at Object.wrapper [as markdown] (E:\Blog\node_modules\lodash\lodash.js:4968:19)
at eval (eval at exports.compile (E:\Blog\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:31:150)
at eval (eval at exports.compile (E:\Blog\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:31:231)
at E:\Blog\node_modules\ejs\lib\ejs.js:255:15
at Theme._View.View._compiledSync (E:\Blog\node_modules\hexo\lib\theme\view.js:122:20)
at Theme._View.View.View.renderSync (E:\Blog\node_modules\hexo\lib\theme\view.js:50:21)
at Object.partial (E:\Blog\node_modules\hexo\lib\plugins\helper\partial.js:42:17)
at Object.wrapper [as partial] (E:\Blog\node_modules\lodash\lodash.js:4968:19)
at eval (eval at exports.compile (E:\Blog\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:30:146)
at eval (eval at exports.compile (E:\Blog\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:30:2536)
at E:\Blog\node_modules\ejs\lib\ejs.js:255:15
at Theme._View.View._compiledSync (E:\Blog\node_modules\hexo\lib\theme\view.js:122:20)
at Theme._View.View.View.renderSync (E:\Blog\node_modules\hexo\lib\theme\view.js:50:21)
at Object.partial (E:\Blog\node_modules\hexo\lib\plugins\helper\partial.js:42:17)
at Object.wrapper [as partial] (E:\Blog\node_modules\lodash\lodash.js:4968:19)
at eval (eval at exports.compile (E:\Blog\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:30:693)
at eval (eval at exports.compile (E:\Blog\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:30:4472)
at E:\Blog\node_modules\ejs\lib\ejs.js:255:15
Unhandled rejection TypeError: E:\Blog\themes\hexo-theme-gal-master\layout\layout.ejs:16
14| <%- body %>
15| </div>
>> 16| <%- partial('_partial/sidebar') %>
17| </div>
18| </div>
19| </div>
E:\Blog\themes\hexo-theme-gal-master\layout\_partial\sidebar.ejs:3
1| <aside class="col-md-4 gal-left" id="sidebar">
2| <%- partial('_widget/search') %>
>> 3| <%- partial('_widget/author') %>
4| <% if(theme.sidebar.recent_comments) { %>
5| <%- partial('_widget/recent_comments') %>
6| <% } %>
E:\Blog\themes\hexo-theme-gal-master\layout\_widget\author.ejs:11
9| <img src="<%- url_for(/https?:\/\//.test(theme.author_image) ? theme.author_image : `imgs/${theme.author_image}`) %>" width="140" height="140"
10| alt="个人头像" class="author-image">
>> 11| <p class="author-description"><%- markdown(config.description) %></p>
12| </div>
13| </div>
14| </aside>
No input file or string!
at Render.renderSync (E:\Blog\node_modules\hexo\lib\hexo\render.js:86:27)
at Object.render (E:\Blog\node_modules\hexo\lib\plugins\helper\render.js:5:23)
at Object.wrapper [as render] (E:\Blog\node_modules\lodash\lodash.js:4968:19)
at Object.markdownHelper (E:\Blog\node_modules\hexo\lib\plugins\helper\markdown.js:4:15)
at Object.wrapper [as markdown] (E:\Blog\node_modules\lodash\lodash.js:4968:19)
at eval (eval at exports.compile (E:\Blog\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:31:150)
at eval (eval at exports.compile (E:\Blog\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:31:231)
at E:\Blog\node_modules\ejs\lib\ejs.js:255:15
at Theme._View.View._compiledSync (E:\Blog\node_modules\hexo\lib\theme\view.js:122:20)
at Theme._View.View.View.renderSync (E:\Blog\node_modules\hexo\lib\theme\view.js:50:21)
at Object.partial (E:\Blog\node_modules\hexo\lib\plugins\helper\partial.js:42:17)
at Object.wrapper [as partial] (E:\Blog\node_modules\lodash\lodash.js:4968:19)
at eval (eval at exports.compile (E:\Blog\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:30:146)
at eval (eval at exports.compile (E:\Blog\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:30:2536)
at E:\Blog\node_modules\ejs\lib\ejs.js:255:15
at Theme._View.View._compiledSync (E:\Blog\node_modules\hexo\lib\theme\view.js:122:20)
at Theme._View.View.View.renderSync (E:\Blog\node_modules\hexo\lib\theme\view.js:50:21)
at Object.partial (E:\Blog\node_modules\hexo\lib\plugins\helper\partial.js:42:17)
at Object.wrapper [as partial] (E:\Blog\node_modules\lodash\lodash.js:4968:19)
at eval (eval at exports.compile (E:\Blog\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:30:693)
at eval (eval at exports.compile (E:\Blog\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:30:4472)
at E:\Blog\node_modules\ejs\lib\ejs.js:255:15
INFO Generated: fonts/glyphicons-halflings-regular.ttf
INFO Generated: fonts/glyphicons-halflings-regular.eot
INFO Generated: fonts/glyphicons-halflings-regular.woff
INFO Generated: fonts/glyphicons-halflings-regular.woff2
INFO Generated: imgs/mouse1.cur
INFO Generated: imgs/mouse2.cur
INFO Generated: imgs/xsbg.gif
INFO Generated: imgs/oni.mp3
INFO Generated: imgs/oni/oni1.jpg
INFO Generated: imgs/oni/oni2.jpg
INFO Generated: imgs/oni/oni5.jpg
INFO Generated: imgs/oni/oni3.jpg
INFO Generated: imgs/oni/oni6.jpg
INFO Generated: imgs/smilies/10.png
INFO Generated: imgs/oni/oni4.jpg
INFO Generated: imgs/smilies/11.png
INFO Generated: imgs/smilies/1.png
INFO Generated: imgs/smilies/12.png
INFO Generated: imgs/smilies/13.png
INFO Generated: imgs/smilies/14.png
INFO Generated: imgs/smilies/16.png
INFO Generated: imgs/smilies/15.png
INFO Generated: imgs/smilies/18.png
INFO Generated: imgs/smilies/17.png
INFO Generated: imgs/smilies/19.png
INFO Generated: imgs/smilies/20.png
INFO Generated: imgs/smilies/22.png
INFO Generated: imgs/smilies/21.png
INFO Generated: imgs/smilies/23.png
INFO Generated: imgs/smilies/25.png
INFO Generated: imgs/smilies/24.png
INFO Generated: imgs/smilies/4.png
INFO Generated: imgs/smilies/3.png
INFO Generated: imgs/smilies/8.png
INFO Generated: imgs/smilies/7.png
INFO Generated: imgs/smilies/9.png
INFO Generated: imgs/smilies/5.png
INFO Generated: js/highslide/graphics/close.png
INFO Generated: imgs/smilies/6.png
INFO Generated: js/highslide/graphics/closeX.png
INFO Generated: js/highslide/graphics/controlbar-black-border.gif
INFO Generated: js/highslide/graphics/controlbar-text-buttons.png
INFO Generated: js/highslide/graphics/controlbar-white-small.gif
INFO Generated: js/highslide/graphics/controlbar-white.gif
INFO Generated: js/highslide/graphics/controlbar2.gif
INFO Generated: js/highslide/graphics/controlbar3.gif
INFO Generated: js/highslide/graphics/controlbar4-hover.gif
INFO Generated: js/highslide/graphics/controlbar4.gif
INFO Generated: js/highslide/graphics/geckodimmer.png
INFO Generated: js/highslide/graphics/icon.gif
INFO Generated: js/highslide/graphics/fullexpand.gif
INFO Generated: js/highslide/graphics/loader.gif
INFO Generated: js/highslide/graphics/resize.gif
INFO Generated: js/highslide/graphics/scrollarrows.png
INFO Generated: js/highslide/graphics/zoomin.cur
INFO Generated: js/highslide/graphics/loader.white.gif
INFO Generated: js/highslide/graphics/outlines/beveled.png
INFO Generated: js/highslide/graphics/zoomout.cur
INFO Generated: js/highslide/graphics/outlines/drop-shadow.png
INFO Generated: imgs/smilies/2.png
INFO Generated: js/highslide/graphics/outlines/glossy-dark.png
INFO Generated: js/highslide/graphics/outlines/rounded-black.png
INFO Generated: js/highslide/graphics/outlines/rounded-white.png
INFO Generated: fonts/fontawesome-webfont.woff
INFO Generated: fonts/fontawesome-webfont.woff2
INFO Generated: fonts/glyphicons-halflings-regular.svg
INFO Generated: imgs/avatar.jpg
INFO Generated: imgs/slide/background2.jpg
INFO Generated: js/highslide/graphics/outlines/outer-glow.png
INFO Generated: js/bootstrap-hover-dropdown.min.js
INFO Generated: js/activate-power-mode.js
INFO Generated: js/aos.js
INFO Generated: js/oni.js
INFO Generated: js/comment/leancloud.js
INFO Generated: js/highslide/highslide.css
INFO Generated: css/aos.css
INFO Generated: js/bootstrap.min.js
INFO Generated: js/hs.js
INFO Generated: js/jquery.min.js
INFO Generated: css/bootstrap.min.css
INFO Generated: js/comment/gitment.js
INFO Generated: js/highslide/highslide-full.packed.js
INFO Generated: js/highslide/highslide-with-gallery.packed.js
INFO Generated: js/highslide/highslide-with-html.min.js
INFO Generated: js/highslide/highslide-with-html.packed.js
INFO Generated: js/highslide/highslide.js
INFO Generated: js/highslide/highslide.min.js
INFO Generated: js/highslide/highslide.packed.js
INFO Generated: js/highslide/highslide-with-gallery.min.js
INFO Generated: js/highslide/highslide-full.js
INFO Generated: js/highslide/highslide-full.min.js
INFO Generated: js/highslide/highslide-with-gallery.js
INFO Generated: js/highslide/highslide-with-html.js
INFO Generated: imgs/slide/background5.jpg
INFO Generated: fonts/FontAwesome.otf
INFO Generated: fonts/fontawesome-webfont.eot
INFO Generated: fonts/fontawesome-webfont.ttf
INFO Generated: imgs/slide/background4.jpg
INFO Generated: js/blog.js
INFO Generated: js/highslide/highslide-ie6.css
INFO Generated: js/highslide/graphics/outlines/Outlines.psd
INFO Generated: imgs/slide/background3.jpg
INFO Generated: imgs/preview/preview1.jpg
INFO Generated: imgs/preview/preview4.jpg
INFO Generated: imgs/preview/preview2.jpg
INFO Generated: imgs/slide/background6.jpg
INFO Generated: imgs/preview/preview3.jpg
INFO Generated: fonts/fontawesome-webfont.svg
INFO Generated: imgs/slide/background1.jpg
INFO Generated: css/style.css
发现模板说明并没有提供这个在哪里更改
是我老了吗
对于长篇文章这个功能还是很实用的,希望大人有空可以做一个
###下面是错误信息
root@daune:~/blog# cd /root/blog && hexo clean && hexo g
INFO Deleted database.
INFO Deleted public folder.
INFO Start processing
INFO Files loaded in 336 ms
ERROR /root/blog/themes/hexo-theme-gal/layout/layout.ejs:16
14| <%- body %>
15|
16| <%- partial('_partial/sidebar') %>
17|
18|
19|
/root/blog/themes/hexo-theme-gal/layout/_partial/sidebar.ejs:3
1|
3| <%- partial('_widget/author') %>
4| <% if(theme.sidebar.recent_comments) { %>
5| <%- partial('_widget/recent_comments') %>
6| <% } %>
/root/blog/themes/hexo-theme-gal/layout/_widget/author.ejs:11
9| <img src="<%- url_for(/https?:///.test(theme.author_image) ? theme.author_image : imgs/${theme.author_image}
) %>" width="140" height="140"
10| alt="个人头像" class="author-image">
11|
<%- markdown(config.description) %>
12|
13|
14|
No input file or string!
TypeError: /root/blog/themes/hexo-theme-gal/layout/layout.ejs:16
14| <%- body %>
15|
16| <%- partial('_partial/sidebar') %>
17|
18|
19|
/root/blog/themes/hexo-theme-gal/layout/_partial/sidebar.ejs:3
1|
3| <%- partial('_widget/author') %>
4| <% if(theme.sidebar.recent_comments) { %>
5| <%- partial('_widget/recent_comments') %>
6| <% } %>
/root/blog/themes/hexo-theme-gal/layout/_widget/author.ejs:11
9| <img src="<%- url_for(/https?:///.test(theme.author_image) ? theme.author_image : imgs/${theme.author_image}
) %>" width="140" height="140"
10| alt="个人头像" class="author-image">
11|
<%- markdown(config.description) %>
12|
13|
14|
No input file or string!
at Render.renderSync (/root/blog/node_modules/hexo/lib/hexo/render.js:86:27)
at Object.render (/root/blog/node_modules/hexo/lib/plugins/helper/render.js:4:21)
at Object.wrapper [as render] (/root/blog/node_modules/lodash/lodash.js:4949:19)
at Object.markdownHelper (/root/blog/node_modules/hexo/lib/plugins/helper/markdown.js:4:15)
at Object.wrapper [as markdown] (/root/blog/node_modules/lodash/lodash.js:4949:19)
at eval (eval at compile (/root/blog/node_modules/ejs/lib/ejs.js:592:12), :18:17)
at returnedFn (/root/blog/node_modules/ejs/lib/ejs.js:623:17)
at Theme._View.View._compiledSync.locals [as _compiledSync] (/root/blog/node_modules/hexo/lib/theme/view.js:120:22)
at Theme._View.View.View.renderSync (/root/blog/node_modules/hexo/lib/theme/view.js:48:23)
at Object.partial (/root/blog/node_modules/hexo/lib/plugins/helper/partial.js:39:15)
at Object.wrapper [as partial] (/root/blog/node_modules/lodash/lodash.js:4949:19)
at eval (eval at compile (/root/blog/node_modules/ejs/lib/ejs.js:592:12), :14:17)
at returnedFn (/root/blog/node_modules/ejs/lib/ejs.js:623:17)
at Theme._View.View._compiledSync.locals [as _compiledSync] (/root/blog/node_modules/hexo/lib/theme/view.js:120:22)
at Theme._View.View.View.renderSync (/root/blog/node_modules/hexo/lib/theme/view.js:48:23)
at Object.partial (/root/blog/node_modules/hexo/lib/plugins/helper/partial.js:39:15)
at Object.wrapper [as partial] (/root/blog/node_modules/lodash/lodash.js:4949:19)
at eval (eval at compile (/root/blog/node_modules/ejs/lib/ejs.js:592:12), :30:17)
at returnedFn (/root/blog/node_modules/ejs/lib/ejs.js:623:17)
at Theme._View.View._compiled.locals [as _compiled] (/root/blog/node_modules/hexo/lib/theme/view.js:124:48)
at Theme._View.View.View.render (/root/blog/node_modules/hexo/lib/theme/view.js:29:15)
at _compiled.then.result (/root/blog/node_modules/hexo/lib/theme/view.js:40:23)
ERROR /root/blog/themes/hexo-theme-gal/layout/layout.ejs:16
14| <%- body %>
15|
16| <%- partial('_partial/sidebar') %>
17|
18|
19|
/root/blog/themes/hexo-theme-gal/layout/_partial/sidebar.ejs:3
1|
3| <%- partial('_widget/author') %>
4| <% if(theme.sidebar.recent_comments) { %>
5| <%- partial('_widget/recent_comments') %>
6| <% } %>
/root/blog/themes/hexo-theme-gal/layout/_widget/author.ejs:11
9| <img src="<%- url_for(/https?:///.test(theme.author_image) ? theme.author_image : imgs/${theme.author_image}
) %>" width="140" height="140"
10| alt="个人头像" class="author-image">
11|
<%- markdown(config.description) %>
12|
13|
14|
No input file or string!
TypeError: /root/blog/themes/hexo-theme-gal/layout/layout.ejs:16
14| <%- body %>
15|
16| <%- partial('_partial/sidebar') %>
17|
18|
19|
/root/blog/themes/hexo-theme-gal/layout/_partial/sidebar.ejs:3
1|
3| <%- partial('_widget/author') %>
4| <% if(theme.sidebar.recent_comments) { %>
5| <%- partial('_widget/recent_comments') %>
6| <% } %>
/root/blog/themes/hexo-theme-gal/layout/_widget/author.ejs:11
9| <img src="<%- url_for(/https?:///.test(theme.author_image) ? theme.author_image : imgs/${theme.author_image}
) %>" width="140" height="140"
10| alt="个人头像" class="author-image">
11|
<%- markdown(config.description) %>
12|
13|
14|
No input file or string!
at Render.renderSync (/root/blog/node_modules/hexo/lib/hexo/render.js:86:27)
at Object.render (/root/blog/node_modules/hexo/lib/plugins/helper/render.js:4:21)
at Object.wrapper [as render] (/root/blog/node_modules/lodash/lodash.js:4949:19)
at Object.markdownHelper (/root/blog/node_modules/hexo/lib/plugins/helper/markdown.js:4:15)
at Object.wrapper [as markdown] (/root/blog/node_modules/lodash/lodash.js:4949:19)
at eval (eval at compile (/root/blog/node_modules/ejs/lib/ejs.js:592:12), :18:17)
at returnedFn (/root/blog/node_modules/ejs/lib/ejs.js:623:17)
at Theme._View.View._compiledSync.locals [as _compiledSync] (/root/blog/node_modules/hexo/lib/theme/view.js:120:22)
at Theme._View.View.View.renderSync (/root/blog/node_modules/hexo/lib/theme/view.js:48:23)
at Object.partial (/root/blog/node_modules/hexo/lib/plugins/helper/partial.js:39:15)
at Object.wrapper [as partial] (/root/blog/node_modules/lodash/lodash.js:4949:19)
at eval (eval at compile (/root/blog/node_modules/ejs/lib/ejs.js:592:12), :14:17)
at returnedFn (/root/blog/node_modules/ejs/lib/ejs.js:623:17)
at Theme._View.View._compiledSync.locals [as _compiledSync] (/root/blog/node_modules/hexo/lib/theme/view.js:120:22)
at Theme._View.View.View.renderSync (/root/blog/node_modules/hexo/lib/theme/view.js:48:23)
at Object.partial (/root/blog/node_modules/hexo/lib/plugins/helper/partial.js:39:15)
at Object.wrapper [as partial] (/root/blog/node_modules/lodash/lodash.js:4949:19)
at eval (eval at compile (/root/blog/node_modules/ejs/lib/ejs.js:592:12), :30:17)
at returnedFn (/root/blog/node_modules/ejs/lib/ejs.js:623:17)
at Theme._View.View._compiled.locals [as _compiled] (/root/blog/node_modules/hexo/lib/theme/view.js:124:48)
at Theme._View.View.View.render (/root/blog/node_modules/hexo/lib/theme/view.js:29:15)
at _compiled.then.result (/root/blog/node_modules/hexo/lib/theme/view.js:40:23)
ERROR /root/blog/themes/hexo-theme-gal/layout/layout.ejs:16
14| <%- body %>
15|
16| <%- partial('_partial/sidebar') %>
17|
18|
19|
/root/blog/themes/hexo-theme-gal/layout/_partial/sidebar.ejs:3
1|
3| <%- partial('_widget/author') %>
4| <% if(theme.sidebar.recent_comments) { %>
5| <%- partial('_widget/recent_comments') %>
6| <% } %>
/root/blog/themes/hexo-theme-gal/layout/_widget/author.ejs:11
9| <img src="<%- url_for(/https?:///.test(theme.author_image) ? theme.author_image : imgs/${theme.author_image}
) %>" width="140" height="140"
10| alt="个人头像" class="author-image">
11|
<%- markdown(config.description) %>
12|
13|
14|
No input file or string!
TypeError: /root/blog/themes/hexo-theme-gal/layout/layout.ejs:16
14| <%- body %>
15|
16| <%- partial('_partial/sidebar') %>
17|
18|
19|
/root/blog/themes/hexo-theme-gal/layout/_partial/sidebar.ejs:3
1|
3| <%- partial('_widget/author') %>
4| <% if(theme.sidebar.recent_comments) { %>
5| <%- partial('_widget/recent_comments') %>
6| <% } %>
/root/blog/themes/hexo-theme-gal/layout/_widget/author.ejs:11
9| <img src="<%- url_for(/https?:///.test(theme.author_image) ? theme.author_image : imgs/${theme.author_image}
) %>" width="140" height="140"
10| alt="个人头像" class="author-image">
11|
<%- markdown(config.description) %>
12|
13|
14|
No input file or string!
at Render.renderSync (/root/blog/node_modules/hexo/lib/hexo/render.js:86:27)
at Object.render (/root/blog/node_modules/hexo/lib/plugins/helper/render.js:4:21)
at Object.wrapper [as render] (/root/blog/node_modules/lodash/lodash.js:4949:19)
at Object.markdownHelper (/root/blog/node_modules/hexo/lib/plugins/helper/markdown.js:4:15)
at Object.wrapper [as markdown] (/root/blog/node_modules/lodash/lodash.js:4949:19)
at eval (eval at compile (/root/blog/node_modules/ejs/lib/ejs.js:592:12), :18:17)
at returnedFn (/root/blog/node_modules/ejs/lib/ejs.js:623:17)
at Theme._View.View._compiledSync.locals [as _compiledSync] (/root/blog/node_modules/hexo/lib/theme/view.js:120:22)
at Theme._View.View.View.renderSync (/root/blog/node_modules/hexo/lib/theme/view.js:48:23)
at Object.partial (/root/blog/node_modules/hexo/lib/plugins/helper/partial.js:39:15)
at Object.wrapper [as partial] (/root/blog/node_modules/lodash/lodash.js:4949:19)
at eval (eval at compile (/root/blog/node_modules/ejs/lib/ejs.js:592:12), :14:17)
at returnedFn (/root/blog/node_modules/ejs/lib/ejs.js:623:17)
at Theme._View.View._compiledSync.locals [as _compiledSync] (/root/blog/node_modules/hexo/lib/theme/view.js:120:22)
at Theme._View.View.View.renderSync (/root/blog/node_modules/hexo/lib/theme/view.js:48:23)
at Object.partial (/root/blog/node_modules/hexo/lib/plugins/helper/partial.js:39:15)
at Object.wrapper [as partial] (/root/blog/node_modules/lodash/lodash.js:4949:19)
at eval (eval at compile (/root/blog/node_modules/ejs/lib/ejs.js:592:12), :30:17)
at returnedFn (/root/blog/node_modules/ejs/lib/ejs.js:623:17)
at Theme._View.View._compiled.locals [as _compiled] (/root/blog/node_modules/hexo/lib/theme/view.js:124:48)
at Theme._View.View.View.render (/root/blog/node_modules/hexo/lib/theme/view.js:29:15)
at _compiled.then.result (/root/blog/node_modules/hexo/lib/theme/view.js:40:23)
ERROR /root/blog/themes/hexo-theme-gal/layout/layout.ejs:16
14| <%- body %>
15|
16| <%- partial('_partial/sidebar') %>
17|
18|
19|
/root/blog/themes/hexo-theme-gal/layout/_partial/sidebar.ejs:3
1|
3| <%- partial('_widget/author') %>
4| <% if(theme.sidebar.recent_comments) { %>
5| <%- partial('_widget/recent_comments') %>
6| <% } %>
/root/blog/themes/hexo-theme-gal/layout/_widget/author.ejs:11
9| <img src="<%- url_for(/https?:///.test(theme.author_image) ? theme.author_image : imgs/${theme.author_image}
) %>" width="140" height="140"
10| alt="个人头像" class="author-image">
11|
<%- markdown(config.description) %>
12|
13|
14|
No input file or string!
TypeError: /root/blog/themes/hexo-theme-gal/layout/layout.ejs:16
14| <%- body %>
15|
16| <%- partial('_partial/sidebar') %>
17|
18|
19|
/root/blog/themes/hexo-theme-gal/layout/_partial/sidebar.ejs:3
1|
3| <%- partial('_widget/author') %>
4| <% if(theme.sidebar.recent_comments) { %>
5| <%- partial('_widget/recent_comments') %>
6| <% } %>
/root/blog/themes/hexo-theme-gal/layout/_widget/author.ejs:11
9| <img src="<%- url_for(/https?:///.test(theme.author_image) ? theme.author_image : imgs/${theme.author_image}
) %>" width="140" height="140"
10| alt="个人头像" class="author-image">
11|
<%- markdown(config.description) %>
12|
13|
14|
No input file or string!
at Render.renderSync (/root/blog/node_modules/hexo/lib/hexo/render.js:86:27)
at Object.render (/root/blog/node_modules/hexo/lib/plugins/helper/render.js:4:21)
at Object.wrapper [as render] (/root/blog/node_modules/lodash/lodash.js:4949:19)
at Object.markdownHelper (/root/blog/node_modules/hexo/lib/plugins/helper/markdown.js:4:15)
at Object.wrapper [as markdown] (/root/blog/node_modules/lodash/lodash.js:4949:19)
at eval (eval at compile (/root/blog/node_modules/ejs/lib/ejs.js:592:12), :18:17)
at returnedFn (/root/blog/node_modules/ejs/lib/ejs.js:623:17)
at Theme._View.View._compiledSync.locals [as _compiledSync] (/root/blog/node_modules/hexo/lib/theme/view.js:120:22)
at Theme._View.View.View.renderSync (/root/blog/node_modules/hexo/lib/theme/view.js:48:23)
at Object.partial (/root/blog/node_modules/hexo/lib/plugins/helper/partial.js:39:15)
at Object.wrapper [as partial] (/root/blog/node_modules/lodash/lodash.js:4949:19)
at eval (eval at compile (/root/blog/node_modules/ejs/lib/ejs.js:592:12), :14:17)
at returnedFn (/root/blog/node_modules/ejs/lib/ejs.js:623:17)
at Theme._View.View._compiledSync.locals [as _compiledSync] (/root/blog/node_modules/hexo/lib/theme/view.js:120:22)
at Theme._View.View.View.renderSync (/root/blog/node_modules/hexo/lib/theme/view.js:48:23)
at Object.partial (/root/blog/node_modules/hexo/lib/plugins/helper/partial.js:39:15)
at Object.wrapper [as partial] (/root/blog/node_modules/lodash/lodash.js:4949:19)
at eval (eval at compile (/root/blog/node_modules/ejs/lib/ejs.js:592:12), :30:17)
at returnedFn (/root/blog/node_modules/ejs/lib/ejs.js:623:17)
at Theme._View.View._compiled.locals [as _compiled] (/root/blog/node_modules/hexo/lib/theme/view.js:124:48)
at Theme._View.View.View.render (/root/blog/node_modules/hexo/lib/theme/view.js:29:15)
at _compiled.then.result (/root/blog/node_modules/hexo/lib/theme/view.js:40:23)
ERROR /root/blog/themes/hexo-theme-gal/layout/layout.ejs:16
14| <%- body %>
15|
16| <%- partial('_partial/sidebar') %>
17|
18|
19|
/root/blog/themes/hexo-theme-gal/layout/_partial/sidebar.ejs:3
1|
3| <%- partial('_widget/author') %>
4| <% if(theme.sidebar.recent_comments) { %>
5| <%- partial('_widget/recent_comments') %>
6| <% } %>
/root/blog/themes/hexo-theme-gal/layout/_widget/author.ejs:11
9| <img src="<%- url_for(/https?:///.test(theme.author_image) ? theme.author_image : imgs/${theme.author_image}
) %>" width="140" height="140"
10| alt="个人头像" class="author-image">
11|
<%- markdown(config.description) %>
12|
13|
14|
No input file or string!
TypeError: /root/blog/themes/hexo-theme-gal/layout/layout.ejs:16
14| <%- body %>
15|
16| <%- partial('_partial/sidebar') %>
17|
18|
19|
/root/blog/themes/hexo-theme-gal/layout/_partial/sidebar.ejs:3
1|
3| <%- partial('_widget/author') %>
4| <% if(theme.sidebar.recent_comments) { %>
5| <%- partial('_widget/recent_comments') %>
6| <% } %>
/root/blog/themes/hexo-theme-gal/layout/_widget/author.ejs:11
9| <img src="<%- url_for(/https?:///.test(theme.author_image) ? theme.author_image : imgs/${theme.author_image}
) %>" width="140" height="140"
10| alt="个人头像" class="author-image">
11|
<%- markdown(config.description) %>
12|
13|
14|
No input file or string!
at Render.renderSync (/root/blog/node_modules/hexo/lib/hexo/render.js:86:27)
at Object.render (/root/blog/node_modules/hexo/lib/plugins/helper/render.js:4:21)
at Object.wrapper [as render] (/root/blog/node_modules/lodash/lodash.js:4949:19)
at Object.markdownHelper (/root/blog/node_modules/hexo/lib/plugins/helper/markdown.js:4:15)
at Object.wrapper [as markdown] (/root/blog/node_modules/lodash/lodash.js:4949:19)
at eval (eval at compile (/root/blog/node_modules/ejs/lib/ejs.js:592:12), :18:17)
at returnedFn (/root/blog/node_modules/ejs/lib/ejs.js:623:17)
at Theme._View.View._compiledSync.locals [as _compiledSync] (/root/blog/node_modules/hexo/lib/theme/view.js:120:22)
at Theme._View.View.View.renderSync (/root/blog/node_modules/hexo/lib/theme/view.js:48:23)
at Object.partial (/root/blog/node_modules/hexo/lib/plugins/helper/partial.js:39:15)
at Object.wrapper [as partial] (/root/blog/node_modules/lodash/lodash.js:4949:19)
at eval (eval at compile (/root/blog/node_modules/ejs/lib/ejs.js:592:12), :14:17)
at returnedFn (/root/blog/node_modules/ejs/lib/ejs.js:623:17)
at Theme._View.View._compiledSync.locals [as _compiledSync] (/root/blog/node_modules/hexo/lib/theme/view.js:120:22)
at Theme._View.View.View.renderSync (/root/blog/node_modules/hexo/lib/theme/view.js:48:23)
at Object.partial (/root/blog/node_modules/hexo/lib/plugins/helper/partial.js:39:15)
at Object.wrapper [as partial] (/root/blog/node_modules/lodash/lodash.js:4949:19)
at eval (eval at compile (/root/blog/node_modules/ejs/lib/ejs.js:592:12), :30:17)
at returnedFn (/root/blog/node_modules/ejs/lib/ejs.js:623:17)
at Theme._View.View._compiled.locals [as _compiled] (/root/blog/node_modules/hexo/lib/theme/view.js:124:48)
at Theme._View.View.View.render (/root/blog/node_modules/hexo/lib/theme/view.js:29:15)
at _compiled.then.result (/root/blog/node_modules/hexo/lib/theme/view.js:40:23)
ERROR /root/blog/themes/hexo-theme-gal/layout/layout.ejs:16
14| <%- body %>
15|
16| <%- partial('_partial/sidebar') %>
17|
18|
19|
/root/blog/themes/hexo-theme-gal/layout/_partial/sidebar.ejs:3
1|
3| <%- partial('_widget/author') %>
4| <% if(theme.sidebar.recent_comments) { %>
5| <%- partial('_widget/recent_comments') %>
6| <% } %>
/root/blog/themes/hexo-theme-gal/layout/_widget/author.ejs:11
9| <img src="<%- url_for(/https?:///.test(theme.author_image) ? theme.author_image : imgs/${theme.author_image}
) %>" width="140" height="140"
10| alt="个人头像" class="author-image">
11|
<%- markdown(config.description) %>
12|
13|
14|
No input file or string!
TypeError: /root/blog/themes/hexo-theme-gal/layout/layout.ejs:16
14| <%- body %>
15|
16| <%- partial('_partial/sidebar') %>
17|
18|
19|
/root/blog/themes/hexo-theme-gal/layout/_partial/sidebar.ejs:3
1|
3| <%- partial('_widget/author') %>
4| <% if(theme.sidebar.recent_comments) { %>
5| <%- partial('_widget/recent_comments') %>
6| <% } %>
/root/blog/themes/hexo-theme-gal/layout/_widget/author.ejs:11
9| <img src="<%- url_for(/https?:///.test(theme.author_image) ? theme.author_image : imgs/${theme.author_image}
) %>" width="140" height="140"
10| alt="个人头像" class="author-image">
11|
<%- markdown(config.description) %>
12|
13|
14|
No input file or string!
at Render.renderSync (/root/blog/node_modules/hexo/lib/hexo/render.js:86:27)
at Object.render (/root/blog/node_modules/hexo/lib/plugins/helper/render.js:4:21)
at Object.wrapper [as render] (/root/blog/node_modules/lodash/lodash.js:4949:19)
at Object.markdownHelper (/root/blog/node_modules/hexo/lib/plugins/helper/markdown.js:4:15)
at Object.wrapper [as markdown] (/root/blog/node_modules/lodash/lodash.js:4949:19)
at eval (eval at compile (/root/blog/node_modules/ejs/lib/ejs.js:592:12), :18:17)
at returnedFn (/root/blog/node_modules/ejs/lib/ejs.js:623:17)
at Theme._View.View._compiledSync.locals [as _compiledSync] (/root/blog/node_modules/hexo/lib/theme/view.js:120:22)
at Theme._View.View.View.renderSync (/root/blog/node_modules/hexo/lib/theme/view.js:48:23)
at Object.partial (/root/blog/node_modules/hexo/lib/plugins/helper/partial.js:39:15)
at Object.wrapper [as partial] (/root/blog/node_modules/lodash/lodash.js:4949:19)
at eval (eval at compile (/root/blog/node_modules/ejs/lib/ejs.js:592:12), :14:17)
at returnedFn (/root/blog/node_modules/ejs/lib/ejs.js:623:17)
at Theme._View.View._compiledSync.locals [as _compiledSync] (/root/blog/node_modules/hexo/lib/theme/view.js:120:22)
at Theme._View.View.View.renderSync (/root/blog/node_modules/hexo/lib/theme/view.js:48:23)
at Object.partial (/root/blog/node_modules/hexo/lib/plugins/helper/partial.js:39:15)
at Object.wrapper [as partial] (/root/blog/node_modules/lodash/lodash.js:4949:19)
at eval (eval at compile (/root/blog/node_modules/ejs/lib/ejs.js:592:12), :30:17)
at returnedFn (/root/blog/node_modules/ejs/lib/ejs.js:623:17)
at Theme._View.View._compiled.locals [as _compiled] (/root/blog/node_modules/hexo/lib/theme/view.js:124:48)
at Theme._View.View.View.render (/root/blog/node_modules/hexo/lib/theme/view.js:29:15)
at _compiled.then.result (/root/blog/node_modules/hexo/lib/theme/view.js:40:23)
ERROR /root/blog/themes/hexo-theme-gal/layout/layout.ejs:16
14| <%- body %>
15|
16| <%- partial('_partial/sidebar') %>
17|
18|
19|
/root/blog/themes/hexo-theme-gal/layout/_partial/sidebar.ejs:3
1|
3| <%- partial('_widget/author') %>
4| <% if(theme.sidebar.recent_comments) { %>
5| <%- partial('_widget/recent_comments') %>
6| <% } %>
/root/blog/themes/hexo-theme-gal/layout/_widget/author.ejs:11
9| <img src="<%- url_for(/https?:///.test(theme.author_image) ? theme.author_image : imgs/${theme.author_image}
) %>" width="140" height="140"
10| alt="个人头像" class="author-image">
11|
<%- markdown(config.description) %>
12|
13|
14|
No input file or string!
TypeError: /root/blog/themes/hexo-theme-gal/layout/layout.ejs:16
14| <%- body %>
15|
16| <%- partial('_partial/sidebar') %>
17|
18|
19|
/root/blog/themes/hexo-theme-gal/layout/_partial/sidebar.ejs:3
1|
3| <%- partial('_widget/author') %>
4| <% if(theme.sidebar.recent_comments) { %>
5| <%- partial('_widget/recent_comments') %>
6| <% } %>
/root/blog/themes/hexo-theme-gal/layout/_widget/author.ejs:11
9| <img src="<%- url_for(/https?:///.test(theme.author_image) ? theme.author_image : imgs/${theme.author_image}
) %>" width="140" height="140"
10| alt="个人头像" class="author-image">
11|
<%- markdown(config.description) %>
12|
13|
14|
No input file or string!
at Render.renderSync (/root/blog/node_modules/hexo/lib/hexo/render.js:86:27)
at Object.render (/root/blog/node_modules/hexo/lib/plugins/helper/render.js:4:21)
at Object.wrapper [as render] (/root/blog/node_modules/lodash/lodash.js:4949:19)
at Object.markdownHelper (/root/blog/node_modules/hexo/lib/plugins/helper/markdown.js:4:15)
at Object.wrapper [as markdown] (/root/blog/node_modules/lodash/lodash.js:4949:19)
at eval (eval at compile (/root/blog/node_modules/ejs/lib/ejs.js:592:12), :18:17)
at returnedFn (/root/blog/node_modules/ejs/lib/ejs.js:623:17)
at Theme._View.View._compiledSync.locals [as _compiledSync] (/root/blog/node_modules/hexo/lib/theme/view.js:120:22)
at Theme._View.View.View.renderSync (/root/blog/node_modules/hexo/lib/theme/view.js:48:23)
at Object.partial (/root/blog/node_modules/hexo/lib/plugins/helper/partial.js:39:15)
at Object.wrapper [as partial] (/root/blog/node_modules/lodash/lodash.js:4949:19)
at eval (eval at compile (/root/blog/node_modules/ejs/lib/ejs.js:592:12), :14:17)
at returnedFn (/root/blog/node_modules/ejs/lib/ejs.js:623:17)
at Theme._View.View._compiledSync.locals [as _compiledSync] (/root/blog/node_modules/hexo/lib/theme/view.js:120:22)
at Theme._View.View.View.renderSync (/root/blog/node_modules/hexo/lib/theme/view.js:48:23)
at Object.partial (/root/blog/node_modules/hexo/lib/plugins/helper/partial.js:39:15)
at Object.wrapper [as partial] (/root/blog/node_modules/lodash/lodash.js:4949:19)
at eval (eval at compile (/root/blog/node_modules/ejs/lib/ejs.js:592:12), :30:17)
at returnedFn (/root/blog/node_modules/ejs/lib/ejs.js:623:17)
at Theme._View.View._compiled.locals [as _compiled] (/root/blog/node_modules/hexo/lib/theme/view.js:124:48)
at Theme._View.View.View.render (/root/blog/node_modules/hexo/lib/theme/view.js:29:15)
at _compiled.then.result (/root/blog/node_modules/hexo/lib/theme/view.js:40:23)
INFO Generated: content.json
INFO Generated: index.html
INFO Generated: 404/index.html
INFO Generated: archives/index.html
INFO Generated: search/index.html
INFO Generated: imgs/mouse1.cur
INFO Generated: fonts/glyphicons-halflings-regular.eot
INFO Generated: fonts/FontAwesome.otf
INFO Generated: fonts/fontawesome-webfont.eot
INFO Generated: fonts/glyphicons-halflings-regular.ttf
INFO Generated: fonts/glyphicons-halflings-regular.woff
INFO Generated: fonts/glyphicons-halflings-regular.woff2
INFO Generated: imgs/mouse2.cur
INFO Generated: fonts/fontawesome-webfont.ttf
INFO Generated: imgs/xsbg.gif
INFO Generated: imgs/oni.mp3
INFO Generated: archives/2018/04/index.html
INFO Generated: imgs/slide/background2.jpg
INFO Generated: fonts/fontawesome-webfont.woff2
INFO Generated: fonts/fontawesome-webfont.woff
INFO Generated: imgs/avatar.jpg
INFO Generated: fonts/glyphicons-halflings-regular.svg
INFO Generated: archives/2018/index.html
INFO Generated: imgs/slide/background5.jpg
INFO Generated: imgs/oni/oni1.jpg
INFO Generated: imgs/smilies/1.png
INFO Generated: imgs/slide/background6.jpg
INFO Generated: js/bootstrap-hover-dropdown.min.js
INFO Generated: js/blog.js
INFO Generated: js/hs.js
INFO Generated: js/oni.js
INFO Generated: imgs/slide/background3.jpg
INFO Generated: imgs/oni/oni2.jpg
INFO Generated: imgs/oni/oni3.jpg
INFO Generated: imgs/oni/oni4.jpg
INFO Generated: imgs/oni/oni5.jpg
INFO Generated: imgs/oni/oni6.jpg
INFO Generated: imgs/smilies/10.png
INFO Generated: imgs/smilies/11.png
INFO Generated: imgs/smilies/12.png
INFO Generated: imgs/smilies/13.png
INFO Generated: imgs/smilies/14.png
INFO Generated: imgs/smilies/15.png
INFO Generated: imgs/smilies/17.png
INFO Generated: imgs/smilies/16.png
INFO Generated: imgs/smilies/18.png
INFO Generated: imgs/slide/background4.jpg
INFO Generated: imgs/smilies/19.png
INFO Generated: imgs/smilies/2.png
INFO Generated: imgs/smilies/20.png
INFO Generated: imgs/smilies/21.png
INFO Generated: imgs/smilies/22.png
INFO Generated: imgs/smilies/23.png
INFO Generated: imgs/smilies/24.png
INFO Generated: imgs/smilies/25.png
INFO Generated: imgs/smilies/3.png
INFO Generated: imgs/smilies/4.png
INFO Generated: imgs/smilies/5.png
INFO Generated: imgs/smilies/6.png
INFO Generated: imgs/smilies/7.png
INFO Generated: imgs/smilies/8.png
INFO Generated: imgs/smilies/9.png
INFO Generated: imgs/preview/preview1.jpg
INFO Generated: js/highslide/highslide.packed.js
INFO Generated: imgs/slide/background1.jpg
INFO Generated: js/activate-power-mode.js
INFO Generated: js/aos.js
INFO Generated: js/highslide/highslide.css
INFO Generated: imgs/preview/preview4.jpg
INFO Generated: js/highslide/graphics/close.png
INFO Generated: js/comment/gitment.js
INFO Generated: js/bootstrap.min.js
INFO Generated: js/highslide/highslide-with-gallery.packed.js
INFO Generated: js/highslide/highslide-with-html.packed.js
INFO Generated: js/highslide/highslide.min.js
INFO Generated: imgs/preview/preview3.jpg
INFO Generated: js/comment/leancloud.js
INFO Generated: fonts/fontawesome-webfont.svg
INFO Generated: js/highslide/highslide-ie6.css
INFO Generated: imgs/preview/preview2.jpg
INFO Generated: js/highslide/graphics/closeX.png
INFO Generated: js/highslide/graphics/controlbar-text-buttons.png
INFO Generated: js/highslide/graphics/controlbar-black-border.gif
INFO Generated: js/highslide/graphics/controlbar-white-small.gif
INFO Generated: js/highslide/graphics/controlbar-white.gif
INFO Generated: js/highslide/graphics/controlbar2.gif
INFO Generated: js/highslide/graphics/controlbar3.gif
INFO Generated: js/highslide/graphics/controlbar4-hover.gif
INFO Generated: js/highslide/graphics/controlbar4.gif
INFO Generated: js/highslide/graphics/fullexpand.gif
INFO Generated: js/highslide/graphics/geckodimmer.png
INFO Generated: js/highslide/graphics/icon.gif
INFO Generated: js/highslide/graphics/loader.gif
INFO Generated: js/highslide/graphics/loader.white.gif
INFO Generated: js/highslide/graphics/resize.gif
INFO Generated: js/highslide/graphics/scrollarrows.png
INFO Generated: js/highslide/graphics/zoomin.cur
INFO Generated: js/highslide/graphics/zoomout.cur
INFO Generated: 2018/04/27/hello-world/index.html
INFO Generated: css/aos.css
INFO Generated: js/highslide/highslide-full.packed.js
INFO Generated: js/highslide/highslide-with-gallery.min.js
INFO Generated: js/highslide/highslide-with-html.min.js
INFO Generated: js/highslide/graphics/outlines/beveled.png
INFO Generated: js/highslide/graphics/outlines/drop-shadow.png
INFO Generated: js/highslide/graphics/outlines/glossy-dark.png
INFO Generated: js/highslide/graphics/outlines/outer-glow.png
INFO Generated: js/highslide/graphics/outlines/rounded-black.png
INFO Generated: js/highslide/graphics/outlines/rounded-white.png
INFO Generated: js/highslide/highslide.js
INFO Generated: js/highslide/graphics/outlines/Outlines.psd
INFO Generated: js/highslide/highslide-with-html.js
INFO Generated: js/highslide/highslide-full.min.js
INFO Generated: js/highslide/highslide-with-gallery.js
INFO Generated: js/jquery.min.js
INFO Generated: js/highslide/highslide-full.js
INFO Generated: css/bootstrap.min.css
INFO Generated: css/style.css
INFO 118 files generated in 315 ms
发现将theme.sidebar.links设置为false并不能隐藏友情链接的tab,因此手工修改了sidebar.ejs,不知道这样修改是否合理。
<% if(theme.sidebar.tags === true || theme.sidebar.friend_links === true || theme.sidebar.links === true) { %>
<aside id="gal-sets">
<div class="panel panel-gal hidden-xs" data-aos="fade-up" data-aos-duration="2000">
<ul class="nav nav-pills pills-gal">
<% if(theme.sidebar.tags === true) { %>
<li class="<%= theme.nav_pill_init_active === 'tags' ? 'active' : '' %>">
<a href="<%- url_for(path) %>#sidebar-tags" data-toggle="tab" id="tags-tab">热门标签</a>
</li>
<% } %>
<% if(theme.sidebar.friend_links === true) { %>
<li class="<%= theme.nav_pill_init_active === 'friend_links' ? 'active' : '' %>">
<a href="<%- url_for(path) %>#sidebar-friend-links" data-toggle="tab" id="friend-links-tab">友情链接</a>
</li>
<% } %>
<% if(theme.sidebar.links === true) { %>
<li class="<%= theme.nav_pill_init_active === 'links' ? 'active' : '' %>">
<a href="<%- url_for(path) %>#sidebar-links" data-toggle="tab" id="links-tab">个人链接</a>
</li>
<% } %>
</ul>
<div class="tab-content">
<% if(theme.sidebar.tags === true) { %>
<%- partial('_widget/hot_tags') %>
<% } %>
<% if(theme.sidebar.friend_links === true) { %>
<%- partial('_widget/friend_links') %>
<% } %>
<% if(theme.sidebar.links === true) { %>
<%- partial('_widget/links') %>
<% } %>
</div>
</div>
</aside>
<% } %>
此外,还将blog.js中的
friendLinksTab.tab('show')
中改为了
tagsTab.tab('show')
但是这个应该还是根据当前有哪些tab页面显示,来决定默认展开哪一个吧。
好像不怎么影响使用. 完整报错信息:
TypeError: /home/coding/workspace/web/themes/gal/layout/index.ejs:18
16| <% })
17| } %>
18| <% page.posts.filter(function (post) {
19| return typeof post.top === 'undefined' || post.top === false
20| }).forEach(function (post) { %>
21| <%- partial('_partial/excerpt', { item: post }) %>
Cannot read property 'filter' of undefined
at eval (eval at compile (/home/coding/workspace/web/node_modules/ejs/lib/ejs.js:618:12), :39:18)
at returnedFn (/home/coding/workspace/web/node_modules/ejs/lib/ejs.js:653:17)
at Theme._View.View._compiled.locals [as _compiled] (/home/coding/workspace/web/node_modules/hexo/lib/theme/view.js:124:48)
at Theme._View.View.View.render (/home/coding/workspace/web/node_modules/hexo/lib/theme/view.js:29:15)
at route.set (/home/coding/workspace/web/node_modules/hexo/lib/hexo/index.js:386:29)
at tryCatcher (/home/coding/workspace/web/node_modules/bluebird/js/release/util.js:16:23)
at /home/coding/workspace/web/node_modules/bluebird/js/release/method.js:15:34
at RouteStream._read (/home/coding/workspace/web/node_modules/hexo/lib/hexo/router.js:134:3)
at RouteStream.Readable.read (stream_readable.js:445:10)
at resume (_stream_readable.js:825:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
隐约记得你之前做出一个小玩偶的效果.请问现在是被去除了吗?
就如下面这个?
https://huaji8.top/post/azusa/
环境搭建的是本地计算机,文章下面,登录后评论功能这里,总是请求失败
$ hexo g
ERROR Plugin load failed: hexo-renderer-sass
Error: Missing binding F:\Workplace_Computer science\Workplace_Website\Hexo\node_modules\node-sass\vendor\win32-x64-64\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 10.x
Found bindings for the following environments:
- Windows 64-bit with Node.js 8.x
This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass --force` to build the binding for your current environment.
at module.exports (F:\Workplace_Computer science\Workplace_Website\Hexo\node_modules\node-sass\lib\binding.js:15:13)
at Object.<anonymous> (F:\Workplace_Computer science\Workplace_Website\Hexo\node_modules\node-sass\lib\index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:678:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10)
at Module.load (internal/modules/cjs/loader.js:589:32)
at tryModuleLoad (internal/modules/cjs/loader.js:528:12)
at Function.Module._load (internal/modules/cjs/loader.js:520:3)
at Module.require (internal/modules/cjs/loader.js:626:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (F:\Workplace_Computer science\Workplace_Website\Hexo\node_modules\hexo-renderer-sass\lib\renderer.js:4:12)
at Module._compile (internal/modules/cjs/loader.js:678:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10)
at Module.load (internal/modules/cjs/loader.js:589:32)
at tryModuleLoad (internal/modules/cjs/loader.js:528:12)
at Function.Module._load (internal/modules/cjs/loader.js:520:3)
at Module.require (internal/modules/cjs/loader.js:626:17)
at require (F:\Workplace_Computer science\Workplace_Website\Hexo\node_modules\hexo\lib\hexo\index.js:216:21)
at F:\Workplace_Computer science\Workplace_Website\Hexo\node_modules\hexo-renderer-sass\index.js:4:20
at F:\Workplace_Computer science\Workplace_Website\Hexo\node_modules\hexo\lib\hexo\index.js:232:12
at tryCatcher (F:\Workplace_Computer science\Workplace_Website\Hexo\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (F:\Workplace_Computer science\Workplace_Website\Hexo\node_modules\bluebird\js\release\promise.js:512:31)
at Promise._settlePromise (F:\Workplace_Computer science\Workplace_Website\Hexo\node_modules\bluebird\js\release\promise.js:569:18)
ERROR Plugin load failed: hexo-renderer-scss
Error: Missing binding F:\Workplace_Computer science\Workplace_Website\Hexo\node_modules\node-sass\vendor\win32-x64-64\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 10.x
Found bindings for the following environments:
- Windows 64-bit with Node.js 8.x
This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass --force` to build the binding for your current environment.
似乎是说没办法binding
求大神们解释一下啊
您好,在文章首页也就是文章列表页的中,当鼠标滑过每一篇文章时,在文章的图片上面显示的字在哪里设置?怎么实现
这里将会将主题进行新修改的配置部分进行说明。
我按照您给出的教程安装gitment之后发现总是报[object XMLHttpRequestProgressEvent][object ProgressEvent] 这样的错误
建议更换成gitalk
就是,在首页那里,鼠标移动到图片上显示一些文字,这个不会啊
拜托了,老哥
使用文字 logo 默认的跳转路径是 yoursite.com , 怎么修改成自己想要的
这几天试用了作者的主题,很棒的主题!自己修改了喜欢的样式,可以预览下看看:博客地址
只了解一点前端知识,学的基础都忘光了……目前我好像遇到几个bug:搜索功能无法实现的样子,看作者你的博客好像能搜索出来,不知道是不是这边仓库没更新~还有小型设备时搜索功能框也挺需要的;还有移动设备背景图是用默认的背景了……也没显示>_<
我都数不清自己魔改了啥233回头再仔细看看,像是font-awesome需要加到head.ejs才会显示图标等到之类的。
非常感谢作者开发了好可爱的主题!辛苦了!看了一圈问题列表,好像也有人遇到搜索功能的瓶颈了,这个不急,慢慢来完善~
另外,昨晚好奇搜了一圈评论系统,好像这个valine很不错的样子,也可以插入到hexo,是基于Leancloud的无后端评论系统。
只是我自己尝试修改了下,好像显示不出来·····不知道是不是要弄到网络上才显示出来……
作者如果有兴趣,也可以加入看看~目前gitment虽然挺好的,但是它还是需要注册登录……
能否增加类似于ng-alain静态网站的登录插件这类的插件,增加用户登录这块的功能。看到其他模板有出这个了,但是其他模板不好看,只能希望您能出
测试的时候输了好多奇奇怪怪的词2333很不美观
希望能增加这个功能 或者能否说一下在哪里能手动删除记录
No input file or string! 按流程做 本地访问
我按照你的说明,注册了Gitment账号,也按照你的说明文档填好了各项参数,但是对于一开始的https://imsun.net/posts/gitment-introduction/ 里面说的2.引入 Gitment 3. 初始化评论评论看不懂.
你好,我使用这种方式在文章中插入图片,背景图片没了,整个界面显的很暗,字都看不清楚了,请问你怎么插入图片的?谢谢~
@ZEROKISEKI
行号和代码之间的空白区域有的大有的小。
试着装别的高亮插件绕过,然后那个插件不工作。
自带的高亮,文档里没看到过。。。
我更好奇为什么别人就没有这个问题。
1.背景轮播图片
---------- themes\gal\layout\layout.ejs
[66] maxCount: '<%- theme.slide_background.mac_count %>'
这里的变量名是mac_count ,但是在配置文件里面,外链和本地图片的配置项名称却分别是mac_count 和max_count
2.文章预览图片
---------- themes\gal\layout_partial\head.ejs
57行
previewsPreLoad.push(new Image())
previewsPreLoad[previewsPreLoad.length - 1].src = '<%- url_for('imgs/preview') %>' + previews[i]
这里没有做url类型判断,一致作为本地图片来处理的。
/我也喜欢忧郁的弟弟, 我感觉功能和忧郁的弟弟wordpress网站还有很大的不足,
所以希望能够一起开发, 希望能够加入 该项目
现在的评论系统坏了?登录不了了.能修改下么?
此issue为接下来要给主题完成的部分
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.