{% if theme.wechat_subscriber.enabled and not is_index %} <div> {% include '../_partials/post/wechat-subscriber.swig' %} </div> {% endif %} #========在include ../_partials/post/wechat-subscriber.swig逻辑下追加以下内容============= <div> {% if not is_index %} {% include 'passage-end-tag.swig' %} {% endif %} </div> <div> {% if not is_index %} {% include 'my-copyright.swig' %} {% endif %} </div>
<div> {% if not is_index %} <div style="text-align:center;color: #ccc;font-size:14px;">-------------End of article. <i class="fa fa-paw"></i> I appreciate whoever read and leave commends on articles.-------------</div> {% endif %} </div>
H:\hexo-Blog>hexo g INFO Start processing INFO Files loaded in 1.97 s INFO Generated: baidusitemap.xml ERROR Asset render failed: lib/canvas-ribbon/canvas-ribbon.js SyntaxError: Unexpected token: operator (>) at JS_Parse_Error.get (eval at <anonymous> (H:\hexo-Blog\node_modules\hexo-uglify\node_modules\uglify-js\tools\node.js:27:1), <anonymous>:86:23) at getFullErrorStack (H:\hexo-Blog\node_modules\hexo-bunyan\lib\bunyan.js:1129:18) at Object.Logger.stdSerializers.err (H:\hexo-Blog\node_modules\hexo-bunyan\lib\bunyan.js:1147:16) at H:\hexo-Blog\node_modules\hexo-bunyan\lib\bunyan.js:873:50 at Array.forEach (<anonymous>) at Logger._applySerializers (H:\hexo-Blog\node_modules\hexo-bunyan\lib\bunyan.js:865:35) at mkRecord (H:\hexo-Blog\node_modules\hexo-bunyan\lib\bunyan.js:978:17) at Logger.<anonymous> (H:\hexo-Blog\node_modules\hexo-bunyan\lib\bunyan.js:1044:19) at self.render.render.catch.err (H:\hexo-Blog\node_modules\hexo\lib\plugins\generator\asset.js:33:20) at tryCatcher (H:\hexo-Blog\node_modules\bluebird\js\release\util.js:16:23) at Promise._settlePromiseFromHandler (H:\hexo-Blog\node_modules\bluebird\js\release\promise.js:512:31) at Promise._settlePromise (H:\hexo-Blog\node_modules\bluebird\js\release\promise.js:569:18) at Promise._settlePromise0 (H:\hexo-Blog\node_modules\bluebird\js\release\promise.js:614:10) at Promise._settlePromises (H:\hexo-Blog\node_modules\bluebird\js\release\promise.js:689:18) at Async._drainQueue (H:\hexo-Blog\node_modules\bluebird\js\release\async.js:133:16) at Async._drainQueues (H:\hexo-Blog\node_modules\bluebird\js\release\async.js:143:10) at Immediate.Async.drainQueues (H:\hexo-Blog\node_modules\bluebird\js\release\async.js:17:14) at runCallback (timers.js:789:20) at tryOnImmediate (timers.js:751:5) at processImmediate [as _immediateCallback] (timers.js:722:5) INFO Generated: atom.xml INFO Generated: search.xml
ERROR path.substring is not a function TypeError: path.substring is not a function at Object.urlForHelper (H:\hexo-Blog\node_modules\hexo\lib\plugins\helper\url_for.js:9:31) at wrapper (H:\hexo-Blog\node_modules\lodash\lodash.js:4941:19) at Object.eval [as tpl] (eval at precompile (H:\hexo-Blog\node_modules\swig-templates\lib\swig.js:497:13), <anonymous>:125:119) at compiled (H:\hexo-Blog\node_modules\swig-templates\lib\swig.js:618:18) at Object.eval [as tpl] (eval at precompile (H:\hexo-Blog\node_modules\swig-templates\lib\swig.js:497:13), <anonymous>:263:126) at compiled (H:\hexo-Blog\node_modules\swig-templates\lib\swig.js:618:18) at Theme._View.View._compiled (H:\hexo-Blog\node_modules\hexo\lib\theme\view.js:127:30) at Theme._View.View.View.render (H:\hexo-Blog\node_modules\hexo\lib\theme\view.js:29:15) at H:\hexo-Blog\node_modules\hexo\lib\hexo\index.js:390:29 at tryCatcher (H:\hexo-Blog\node_modules\bluebird\js\release\util.js:16:23) at H:\hexo-Blog\node_modules\bluebird\js\release\method.js:15:34 at RouteStream._read (H:\hexo-Blog\node_modules\hexo\lib\hexo\router.js:134:3) at RouteStream.Readable.read (_stream_readable.js:442:10) at resume_ (_stream_readable.js:822:12) at _combinedTickCallback (internal/process/next_tick.js:138:11) at process._tickCallback (internal/process/next_tick.js:180:9) ERROR path.substring is not a function TypeError: path.substring is not a function at Object.urlForHelper (H:\hexo-Blog\node_modules\hexo\lib\plugins\helper\url_for.js:9:31) at wrapper (H:\hexo-Blog\node_modules\lodash\lodash.js:4941:19) at Object.eval [as tpl] (eval at precompile (H:\hexo-Blog\node_modules\swig-templates\lib\swig.js:497:13), <anonymous>:125:119) at compiled (H:\hexo-Blog\node_modules\swig-templates\lib\swig.js:618:18) at Object.eval [as tpl] (eval at precompile (H:\hexo-Blog\node_modules\swig-templates\lib\swig.js:497:13), <anonymous>:263:126) at compiled (H:\hexo-Blog\node_modules\swig-templates\lib\swig.js:618:18) at Theme._View.View._compiled (H:\hexo-Blog\node_modules\hexo\lib\theme\view.js:127:30) at Theme._View.View.View.render (H:\hexo-Blog\node_modules\hexo\lib\theme\view.js:29:15) at H:\hexo-Blog\node_modules\hexo\lib\hexo\index.js:390:29 at tryCatcher (H:\hexo-Blog\node_modules\bluebird\js\release\util.js:16:23) at H:\hexo-Blog\node_modules\bluebird\js\release\method.js:15:34 at RouteStream._read (H:\hexo-Blog\node_modules\hexo\lib\hexo\router.js:134:3) at RouteStream.Readable.read (_stream_readable.js:442:10) at resume_ (_stream_readable.js:822:12) at _combinedTickCallback (internal/process/next_tick.js:138:11) at process._tickCallback (internal/process/next_tick.js:180:9) ERROR path.substring is not a function TypeError: path.substring is not a function at Object.urlForHelper (H:\hexo-Blog\node_modules\hexo\lib\plugins\helper\url_for.js:9:31) at wrapper (H:\hexo-Blog\node_modules\lodash\lodash.js:4941:19) at Object.eval [as tpl] (eval at precompile (H:\hexo-Blog\node_modules\swig-templates\lib\swig.js:497:13), <anonymous>:125:119) at compiled (H:\hexo-Blog\node_modules\swig-templates\lib\swig.js:618:18) at Object.eval [as tpl] (eval at precompile (H:\hexo-Blog\node_modules\swig-templates\lib\swig.js:497:13), <anonymous>:263:126) at compiled (H:\hexo-Blog\node_modules\swig-templates\lib\swig.js:618:18) at Theme._View.View._compiled (H:\hexo-Blog\node_modules\hexo\lib\theme\view.js:127:30) at Theme._View.View.View.render (H:\hexo-Blog\node_modules\hexo\lib\theme\view.js:29:15) at H:\hexo-Blog\node_modules\hexo\lib\hexo\index.js:390:29 at tryCatcher (H:\hexo-Blog\node_modules\bluebird\js\release\util.js:16:23) at H:\hexo-Blog\node_modules\bluebird\js\release\method.js:15:34 at RouteStream._read (H:\hexo-Blog\node_modules\hexo\lib\hexo\router.js:134:3) at RouteStream.Readable.read (_stream_readable.js:442:10) at resume_ (_stream_readable.js:822:12) at _combinedTickCallback (internal/process/next_tick.js:138:11) at process._tickCallback (internal/process/next_tick.js:180:9) ......
fatal: HttpRequestException encountered. ��������ʱ����� bash: /dev/tty: No such device or address error: failed to execute prompt script (exit code 1) fatal: could not read Username for 'https://github.com': No error FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html Error: fatal: HttpRequestException encountered. ��������ʱ���� bash: /dev/tty: No such device or address error: failed to execute prompt script (exit code 1) fatal: could not read Username for 'https://github.com': No error
at ChildProcess.<anonymous> (H:\hexo-Blog\node_modules\hexo-util\lib\spawn.js:37:17) at emitTwo (events.js:126:13) at ChildProcess.emit (events.js:214:7) at ChildProcess.cp.emit (H:\hexo-Blog\node_modules\cross-spawn\lib\enoent.js:40:29) at maybeClose (internal/child_process.js:925:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)