Giter Site home page Giter Site logo

liuyib / hexo-theme-stun Goto Github PK

View Code? Open in Web Editor NEW
617.0 6.0 124.0 2.95 MB

🦄 An elegant theme for Hexo

Home Page: https://theme-stun.github.io/docs/

License: MIT License

JavaScript 29.42% Pug 24.62% Stylus 45.96%
hexo hexo-theme responsive-design comments languages lazy-loading waterfall-flow stun-hexo liuyib

hexo-theme-stun's Introduction

警告:目前该项目年久失修,请尽量不要使用,建议使用一直处于维护状态的 NexT 主题,祝好

Stun Logo

一个漂亮、简洁的 Hexo 主题

js-standard-style Commitizen friendly FOSSA Status Dependencies status GitHub LICENSE
Hexo version GitHub release Github Discussions

语言: English | 中文简体

✨ 演示

如果你准备长期使用 «Stun» 主题,并希望展示在这里,你只需在 README 中填入你的网站,然后提交 PR 即可。

🔮 特性

📦 安装

  • 安装 «Stun»

    进入 Hexo 根目录,执行指令:

    $ git clone https://github.com/liuyib/hexo-theme-stun.git themes/stun

    该指令会将本仓库中的所有文件克隆下来,其中有很多文件仅用于项目开发,对于普通用户来说完全用不到。因此,如果你想仅克隆主题运行所必需的文件,请用下面的指令代替上面的指令:

    $ git clone -b dist https://github.com/liuyib/hexo-theme-stun.git themes/stun

    注意:这样做不方便以后更新,请谨慎使用。

  • 安装依赖 hexo-renderer-pug

    进入 Hexo 根目录,执行指令:

    $ npm install --save hexo-renderer-pug

🔨 使用

修改 Hexo 根目录下的 _config.yml 文件:

theme: stun

然后,启动 Hexo 服务器:

$ hexo clean && hexo s

🎨 更新

$ cd themes/stun

$ git pull

📄 文档

下面是多个文档镜像(它们是全量同步的),任选其一访问即可。

❓ 问题

如果遇到问题,首先请仔细阅读文档,或者查看常见问题。当以上的方法都无法帮助你时,再去提出 issue🤗。

🤝 贡献

在提出 Pull request 之前,请务必先阅读贡献指南

感谢所有为 «Stun» 做出贡献的人!

💻 浏览器支持

IE
IE
Edge
Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Opera
Opera
Not Supported 12+ 41+ 45+ 10+ 32+

⭐ Star 历史趋势

Stargazers over time

📃 开源协议

MIT Copyright (c) 2019-present liuyib

FOSSA Status

hexo-theme-stun's People

Contributors

5522mike avatar aahei avatar bestjarvan avatar cetr avatar cjh0613 avatar cjpnice avatar dependabot[bot] avatar depfu[bot] avatar flyraty avatar fossabot avatar hongmaple avatar june976 avatar liuyib avatar mhuig avatar niumoo avatar pvulcancn avatar qinghuannn avatar rfmarves avatar sakuraikaede avatar seprovidente avatar shufanhao avatar weikido avatar yangfanjack avatar yeung66 avatar yihui-liu avatar zzjzxq33 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

hexo-theme-stun's Issues

启用图片懒加载后 fancybox 失效

I want to create a new issue

Stun Information

Stun Version: v1.2.5

Platform: Windows / macOS / Linux / Android / iOS

Browser: Chrome / Safari / FireFox / ...

Expected behaviour

启用图片懒加载后,fancybox 正常使用

Actual behaviour

启用懒加载后,fancybox 只显示 loading 图片
63785839-9ad1f480-c923-11e9-9c8f-4950b3a25d61

Steps to reproduce the behaviour

启用图片懒加载和 fancybox,然后点击放大任意图片。

Feature Request


主题配置中的 language: zh 无效

I want to create a new issue

Stun Information

Stun Version:v1.3.1

Platform:Windows

Browser:Chrome

Expected behaviour

修改主题配置中 language: zh 的字段,博客主题应变为中文。

Actual behaviour

博客仍旧为默认的英文。

Steps to reproduce the behaviour

安装了以下插件
"hexo": { "version": "3.9.0" }, "dependencies": { "hexo": "^3.9.0", "hexo-admin": "^2.3.0", "hexo-all-minifier": "^0.5.3", "hexo-generator-archive": "^0.1.5", "hexo-generator-category": "^0.1.3", "hexo-generator-feed": "^2.0.0", "hexo-generator-index-pin-top": "^0.2.2", "hexo-generator-search": "^2.4.0", "hexo-generator-tag": "^0.2.0", "hexo-pwa": "^0.1.3", "hexo-renderer-ejs": "^0.3.1", "hexo-renderer-marked": "^1.0.1", "hexo-server": "^0.3.3", "hexo-wordcount": "^6.0.1" }, "devDependencies": { "hexo-render-pug": "^2.1.4", "hexo-renderer-stylus": "^0.3.3"
使用 hexo g生成静态页面后,可见主题语言配置并未生效

Feature Request


执行 hexo s 命令后报错,无法启动

I want to create a new issue

Stun Information

Stun Version: 1.5.4

Hexo Version: 4.2.0

Platform: Windows

Browser: Chrome

Expected behaviour

Actual behaviour

【Tonight I deleted all the commits from my blog repo, but I don't think this should be the main reason. Then when I upgraded HEXO to 4.2.0 and typed HEXO S, this happened:】

【今晚我将我的博客repo的commits全部删除了,不过我认为这个应该不是主要原因。随后当我将HEXO的升级至4.2.0并且键入HEXO S时出现了这样的情况:】

图片

【This does not happen with the official default theme "landscape". I tried to init HEXO and reset it according to the Hexo-theme-stun Docs, but it didn't work.】
【使用官方默认主题“landscape”则不会出现这种情况,我尝试初始化HEXO并按照中文文档进行重新设置,但是不起作用。】

Steps to reproduce the behaviour

Feature Request


文章字数过少时自动保留摘要最后会出现document.querySele......

I want to create a new issue

Stun Information

Stun Version: 1.7.0

Hexo Version: 4.0.0

Platform: Windows

Browser: Chrome

Expected behaviour

首页正常显示每篇文章自动保留的150字摘要,若文章小于150字,则显示实际字数。

Actual behaviour

Screen Shot 2020-03-10 at 16 04 32

实际上文章到第三行已经结束,但摘要最后却包含了document.querySele......样子的代码

Steps to reproduce the behaviour

写一篇少于配置中自动保留摘要字数的文章

Feature Request

建议添加关于字数的判断


网站部署 gitee pages 后,启用 pjax 出现跨域问题

将博客部署到gitee上出现跨域问题,点击其他页面没有反应

Stun Information

Stun Version: 2.0.1
Hexo Version: 4.2.1
Platform: macOS
Browser: Chrome, Safari也有该问题

Expected behaviour

Actual behaviour

image

Steps to reproduce the behaviour

个人博客地址:http://lienhui68.gitee.io/
step1 hexo clean && hexo d 部署到gitee上
访问博客,进去首先不显示title图标,接着点击任意链接均没反应,打开控制台显示如图片

标题分级显示错误

I want to create a new issue

Stun Information

Stun Version: 1.6.0、1.5.4

Hexo Version: 4.2.0

Platform: Windows

Browser: Chrome

Expected behaviour

Actual behaviour

在本地编辑MD文件的时候利用Markdown语法书写标题:标题分级无效(1)
【Use the Markdown syntax to write the title when editing the MD file locally:】

但是在网页中却没有达到理想的效果:
标题分级无效(2)
【But in the web page, it did not achieve the desired effect:】

这个问题在我上次 git pull origin dev 的时候应该就出现了。
【This problem should have occurred when I last git pull origin dev.】

Steps to reproduce the behaviour

Feature Request


valine评论问题

Stun Version: 1.5.4

Hexo Version: 4.0.0

问题:
开启pjax,切换页面评论不刷新成当前页面的评论

增加公安备案选项

I want to create a new issue

Stun Information

Stun Version: v2.1.1

Hexo Version: v4.2.1

Platform: Windows

Browser: Chrome

Expected behaviour

Actual behaviour

Steps to reproduce the behaviour

Feature Request

由于主题未提供公安备案设置项,我自己修改了一下footer.pug,以下是修改后的内容:

-
  var footer = theme.footer;
  var nowYear = new Date().getFullYear();
  var startYear = footer.copyright.since || nowYear;
  var endYear = footer.copyright.end || nowYear;
  var footerCopyright = footer.copyright.enable
if footerCopyright
  div
    if footerCopyright
      span= `Copyright © ${startYear}` + ((startYear !== endYear) ? `~${endYear}` : '')
      if footer.icon.enable
        span(class="footer__icon")
          i(class=footer.icon.name)
      else
        span.footer__devider
      span!= footer.copyright.text || config.author

-
  var footerBeianicp = footer.beianicp.enable
  var footerBeiangongan = footer.beiangongan.enable
if footerBeianicp || footerBeiangongan
  div
    if footerBeianicp
      span
        != _p(link_to('http://www.beian.miit.gov.cn', footer.beianicp.icp, { external: true }))
    if footerBeianicp && footerBeiangongan
      span.footer__devider= '|'
    if footerBeiangongan
      span
        != _p(link_to(footer.beiangongan.gongan_url, footer.beiangongan.gongan_id, { external: true }))

-
  var footerPowered = footer.powered.enable
  var footerTheme = footer.theme.enable
if footerPowered || footerTheme
  div
    if footerPowered
      span
        != _p('footer.powered', link_to(HEXO_URL, 'Hexo', { external: true }))
      if footer.powered.version
        span= ' v' + hexo_env('version')
    if footerPowered && footerTheme
      span.footer__devider= '|'
    if footerTheme
      span= __('footer.theme') + ' - '
        != link_to(STUN_URL, 'Stun', { external: true })
      if footer.theme.version
        span= ' v' + stun_env('version')

if theme.busuanzi.enable
  include ../analytics/busuanzi.pug

if footer.custom.enable
  div!= footer.custom.text

由于对pug不熟悉,中间加入的代码是根据上下文推测写出的,不知道格式有没有问题。

另外有个问题想请教一下,想要在公安备案(footerBeiangongan)的前面插入一个图片,上面这段代码应该怎么改一下?


”代码高亮“无法识别C#代码

I want to create a new issue

Stun Information

Stun Version: v1.3.1

Platform: Windows

Browser: Chrome

Expected behaviour

image

Actual behaviour

image

Other languages display normally.

Steps to reproduce the behaviour

Feature Request


建议添加KaTeX对mhchem的支持

I want to create a new issue

Stun Information

Stun Version: v4.2.1

Hexo Version: v2.1.1

Platform: Windows

Browser: Chrome

Expected behaviour

Actual behaviour

Steps to reproduce the behaviour

Feature Request

由于部分文章需要用到化学式,用mathjax渲染的话与Pjax不兼容,KaTeX( https://github.com/KaTeX/KaTeX/tree/master/contrib/mhchem )已经可以正常渲染化学式了,不知道是否可以添加KaTeX对mhchem的支持?


应用stun后index页直接显示html标签

I want to create a new issue

Stun Information

Stun Version:
1.7.0 ? maybe,我新clone的

Hexo Version:
hexo: 4.2.0
hexo-cli: 3.1.0

Platform:
os: Windows_NT 10.0.18362 win32 x64

Browser:
Chrome

Expected behaviour

预期就是好好显示啊……

Actual behaviour

页面截图如下:
3KtQL8.png

原文章如下:
3KtwLT.png

Steps to reproduce the behaviour

  1. hexo init 一个新的文件夹,下载[email protected]
  2. 按照文档中的shell指令下载stun,下载NexT
  3. 写一点md,预设的landscape正常,将theme调为NexT也正常
  4. 调为stun就会出现上面的情况

Feature Request

其实我有考虑直接不理stun投向NexT,但是我真的觉得stun挺好看的,很戳我的审美,所以还是很希望解决问题,早日应用!


修好了就给Star!然后用英文重写一次issue方便国际友人!

代码没有高亮

所有的代码都是灰色的,没有高亮,请问下怎么设置呀?

The icon of paginator can't display normally

I want to create a new issue

Stun Information

Stun Version:
Newest(1.5.3?)

Platform: Windows/macOS/Android

Browser: CHrome/FireFox

Expected behaviour

Actual behaviour

2019-10-25_145240

Steps to reproduce the behaviour

  • I don't know how to reproduce the problem, but it seems that the section in the .pug file is not compiled correctly by template engine.

2019-10-25_145337

2019-10-25_150817

Feature Request


首屏下拉提示箭头

感觉作者提供这么好的主题,用了几天体验很不错,提这个不是核心需求,只是觉得有个首页背景图全屏情况下有个下滑提示自然一点。类似于这个Fluid主题这个,https://0x2e.github.io/

hexo generate slow with 100 posts

I want to create a new issue

Stun Information

Stun Version:

Hexo Version:
hexo: 4.2.0
hexo-cli: 3.1.0
os: Darwin 19.3.0 darwin x64
node: 11.9.0
v8: 7.0.276.38-node.16
uv: 1.25.0
zlib: 1.2.11
brotli: 1.0.7
ares: 1.15.0
modules: 67
nghttp2: 1.34.0
napi: 4
llhttp: 1.0.1
http_parser: 2.8.0
openssl: 1.1.1a
cldr: 34.0
icu: 63.1
tz: 2018e
unicode: 11.0

Platform:
macOS

Expected behaviour

hexo generate很慢,使用hexo的默认主题或者next主题时,都只需要500ms,但换成stun后需要20s。请问有加速的办法吗?
It takes 20s to run hexo generate. When using hexo's default theme or next theme, it only takes 500ms, but it takes 20s after switching to stun.
Is there any way to speed up?

Actual behaviour

当我使用默认主题或者next主题时,运行 hexo clean && hexo g
when using the hexo's default theme or next theme, run hexo clean && hexo g

INFO  Deleted database.
INFO  Deleted public folder.
INFO  Start processing
INFO  Files loaded in 2.07 s
INFO  ...
INFO  101 files generated in 640 ms

当我使用stun主题时,运行 hexo clean && hexo g
when using stun theme , run hexo clean && hexo g

INFO  Deleted database.
INFO  Deleted public folder.
INFO  Start processing
INFO  Files loaded in 2.09 s
INFO   ...
INFO  97 files generated in 20 s

部署到GitHub上时候,顶部背景图片无法正常显示。

I want to create a new issue

Stun Information

Stun Version:
1.7.0

Hexo Version:
4.2.0

Platform:
Windows

Browser:
Chrome

Expected behaviour

Actual behaviour

部署到GitHub上时候,顶部背景无法正常显示,但是在本地http://localhost:4000/上查看可以正常显示,路径用的是在hexo根目录下的/pic/cover1.jpg。在主题根目录下的source/images也尝试过,同样是部署后无法显示,本地可以正常显示,

Steps to reproduce the behaviour

Feature Request


The Sharing buttons below each article are losing

I want to create a new issue

Stun Information

Stun Version: 2.0.0-rc.0 (2020-03-31)

Hexo Version: downloaded on 2020-05-01(Maybe the lasted version)

Platform: Windows 10

Browser: Chrome

Expected behaviour

Every sharing image don't show up.

Actual behaviour

The layout._partials.widgets.share.pug doesn't show up in expected .
And the stun's _config.yml has been setted in the rigth way.

# The widget of post.
post_widget:
  # Whether to show tags at the bottom of post.
  tags: true
  # Whether to show "------ END ------" at the bottom of post.
  end_text:
    enable: true
    # Whether to show a horizon line before "------ END ------".
    horizon_line: false
  # Article sharing
  share:
    enable: true
    # The text displayed before the share button.
    label: "Share to: "
    # Optional values: qzone | qq | weibo | wechat | douban | linkedin | facebook | twitter | google
    target: qzone, qq, weibo, wechat, douban, linkedin, facebook, twitter, google

Steps to reproduce the behaviour

Feature Request

Would you help to solve this problem ? It has troubling me for few days. I even also try to read to source code and change the stun.layout._partials_widgets.share.pug. The details as follow.

if true
  div.post-share
    if true
      div.social-share(data-sites=`${socialShare.target}`)
        = socialShareLabel

But nothing happen.
My blog site : motongxue.gitee.io
Could you please help for me ? Thank you!


博客内容带有latex数学公式时,启动失败

I want to create a new issue

Stun Information

Stun Version:
Stun Version: 1.4.1

Platform:
Windows

Browser:
Chrome

Expected behaviour

Start the Blog by excuting the command "hexo s", and then it renders the latex successfully.

Actual behaviour

The Blog startup failed.

(对于之前发布带有latex公式的博客,即使能在写完内容后本地启动博客,但是却无法渲染数学公式,本该显示公式的地方变为了空白)

Steps to reproduce the behaviour

  1. configure the mathjax according to the DOC
  2. set "math: true" in Front-matter
  3. write and save the blog
  4. excute command "hexo s"

I found the mistake related in thewebsite:
https://hexo.io/zh-cn/docs/troubleshooting.html

Feature Request


设置了 body 背景图片后,底部栏不显示(被覆盖)

I want to create a new issue

Stun Information

Stun Version: v1.7.0

Hexo Version: v4.2.0

Platform: Arch Linux

Browser: Chrome

Expected behaviour

能够在显示footer背景的同时显示页脚信息

  • 正常页脚显示信息

Actual behaviour

什么都没有显示

  • 实际显示

Steps to reproduce the behaviour

设置

footer:
  # Background image in the footer.
  bg_image:
    enable: true
    # In theme directory (source/images): /images/avatar.png
    # In site directory (source/uploads): /uploads/avatar.png
    # You can also use a link of image.
    url: /images/wallpaper/d_starts.svg
  # Mask effect of the background image.

我使用的页脚背景图

Feature Request


about picture

I want to create a new issue

Stun Information

Stun Version: 2.0.1

Hexo Version: 4.2.1

Platform: windows10

Browser: edge chromium

Expected behaviour

I want to insert a picture which not be expanded in post
我想在文章中插入不能被放大的图片

Actual behaviour

Every picture is default expanded
每张图片都默认可以被放大

Steps to reproduce the behaviour

Feature Request

Is there has any way to make the picture not be expanded
有没有什么途径可以控制图片不被放大


脚注失效

I want to create a new issue

Stun Information

Stun Version:v1.5.4.

Hexo Version:v3.9.0.|

Platform:Windows

Browser:Chrome

Expected behaviour

使用脚注[^1] ,点击后到脚注锚点

Actual behaviour

脚注在博客中会识别成链接,跳转到/文章/脚注内容处

Steps to reproduce the behaviour

在文章中添加脚注即可

Feature Request


search window does not appear when hit search button

I want to create a new issue

Stun Information

Stun Version: 2.0.0

Well.. actually:

  • commit: 67b095b
  • comment: chore: Modify the config for docs
  • on master branch

Hexo Version: 4.2.0

Platform: macOS

Browser: Chrome

Expected behaviour

I am using the local-search feature: https://liuyib.github.io/hexo-theme-stun/zh-CN/advanced/third-part.html#%E6%9C%AC%E5%9C%B0%E6%90%9C%E7%B4%A2

Search window should appear when I hit the search button.

Actual behaviour

Search window DOSE NOT appear when I hit search button.

image

Steps to reproduce the behaviour

I found that the search button won't work on the pages, but it works well in the blog post.

You can access my blog on github page here: https://tannineo.github.io/
Or check the source code on branch source in this repo: https://github.com/tannineo/tannineo.github.io

Feature Request


初次使用 stun 运行不起来

n/layout.pug block content include ./_mixins/posts-sort.pug include ./_mixins/post-header.pug div.home-content.code-highlight if theme.post_list_paged.home include ./_components/recent-posts.pug include ./_components/pagination.pug else include ./_components/recent-posts.pug

生成静态文件时报错

TypeError: /home/eonun/data/meBlog/blog/themes/stun/layout/_common/config.pug:1
  > 1| -
    2|   var algolia = 'undefined';
    3|   var env = process.env;
    4|

Cannot read property 'appId' of undefined
    at eval (eval at wrap (/home/eonun/data/meBlog/blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:277:49)
    at template (eval at wrap (/home/eonun/data/meBlog/blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:1318:72)
    at pugRenderer (/home/eonun/data/meBlog/blog/node_modules/hexo-render-pug/lib/renderer.js:12:26)
    at Hexo.<anonymous> (/home/eonun/data/meBlog/blog/node_modules/hexo-render-pug/index.js:11:10)
    at Hexo.tryCatcher (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/util.js:16:23)
    at Hexo.<anonymous> (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/method.js:15:34)
    at Promise.then.text (/home/eonun/data/meBlog/blog/node_modules/hexo/lib/hexo/render.js:60:20)
    at tryCatcher (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:517:31)
    at Promise._settlePromise (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:574:18)
    at Promise._settlePromiseCtx (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:611:10)
    at _drainQueueStep (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:142:12)
    at _drainQueue (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:131:9)
    at Async._drainQueues (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:147:5)
    at Immediate.Async.drainQueues [as _onImmediate] (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:17:14)
    at runCallback (timers.js:705:18)
    at tryOnImmediate (timers.js:676:5)
    at processImmediate (timers.js:658:5)
ERROR Render HTML failed: 2019/07/13/博客笔记/Linux-上搭建GitHub-Hexo博客/index.html
TypeError: /home/eonun/data/meBlog/blog/themes/stun/layout/_common/config.pug:1
  > 1| -
    2|   var algolia = 'undefined';
    3|   var env = process.env;
    4|

Cannot read property 'appId' of undefined
    at eval (eval at wrap (/home/eonun/data/meBlog/blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:277:49)
    at template (eval at wrap (/home/eonun/data/meBlog/blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:1318:72)
    at pugRenderer (/home/eonun/data/meBlog/blog/node_modules/hexo-render-pug/lib/renderer.js:12:26)
    at Hexo.<anonymous> (/home/eonun/data/meBlog/blog/node_modules/hexo-render-pug/index.js:11:10)
    at Hexo.tryCatcher (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/util.js:16:23)
    at Hexo.<anonymous> (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/method.js:15:34)
    at Promise.then.text (/home/eonun/data/meBlog/blog/node_modules/hexo/lib/hexo/render.js:60:20)
    at tryCatcher (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:517:31)
    at Promise._settlePromise (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:574:18)
    at Promise._settlePromiseCtx (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:611:10)
    at _drainQueueStep (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:142:12)
    at _drainQueue (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:131:9)
    at Async._drainQueues (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:147:5)
    at Immediate.Async.drainQueues [as _onImmediate] (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:17:14)
    at runCallback (timers.js:705:18)
    at tryOnImmediate (timers.js:676:5)
    at processImmediate (timers.js:658:5)
ERROR Render HTML failed: archives/index.html
TypeError: /home/eonun/data/meBlog/blog/themes/stun/layout/_common/config.pug:1
  > 1| -
    2|   var algolia = 'undefined';
    3|   var env = process.env;
    4|

Cannot read property 'appId' of undefined
    at eval (eval at wrap (/home/eonun/data/meBlog/blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:277:49)
    at template (eval at wrap (/home/eonun/data/meBlog/blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:1102:72)
    at pugRenderer (/home/eonun/data/meBlog/blog/node_modules/hexo-render-pug/lib/renderer.js:12:26)
    at Hexo.<anonymous> (/home/eonun/data/meBlog/blog/node_modules/hexo-render-pug/index.js:11:10)
    at Hexo.tryCatcher (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/util.js:16:23)
    at Hexo.<anonymous> (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/method.js:15:34)
    at Promise.then.text (/home/eonun/data/meBlog/blog/node_modules/hexo/lib/hexo/render.js:60:20)
    at tryCatcher (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:517:31)
    at Promise._settlePromise (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:574:18)
    at Promise._settlePromiseCtx (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:611:10)
    at _drainQueueStep (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:142:12)
    at _drainQueue (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:131:9)
    at Async._drainQueues (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:147:5)
    at Immediate.Async.drainQueues [as _onImmediate] (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:17:14)
    at runCallback (timers.js:705:18)
    at tryOnImmediate (timers.js:676:5)
    at processImmediate (timers.js:658:5)
ERROR Render HTML failed: archives/2019/index.html
TypeError: /home/eonun/data/meBlog/blog/themes/stun/layout/_common/config.pug:1
  > 1| -
    2|   var algolia = 'undefined';
    3|   var env = process.env;
    4|

Cannot read property 'appId' of undefined
    at eval (eval at wrap (/home/eonun/data/meBlog/blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:277:49)
    at template (eval at wrap (/home/eonun/data/meBlog/blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:1102:72)
    at pugRenderer (/home/eonun/data/meBlog/blog/node_modules/hexo-render-pug/lib/renderer.js:12:26)
    at Hexo.<anonymous> (/home/eonun/data/meBlog/blog/node_modules/hexo-render-pug/index.js:11:10)
    at Hexo.tryCatcher (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/util.js:16:23)
    at Hexo.<anonymous> (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/method.js:15:34)
    at Promise.then.text (/home/eonun/data/meBlog/blog/node_modules/hexo/lib/hexo/render.js:60:20)
    at tryCatcher (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:517:31)
    at Promise._settlePromise (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:574:18)
    at Promise._settlePromiseCtx (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:611:10)
    at _drainQueueStep (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:142:12)
    at _drainQueue (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:131:9)
    at Async._drainQueues (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:147:5)
    at Immediate.Async.drainQueues [as _onImmediate] (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:17:14)
    at runCallback (timers.js:705:18)
    at tryOnImmediate (timers.js:676:5)
    at processImmediate (timers.js:658:5)
ERROR Render HTML failed: archives/2019/07/index.html
TypeError: /home/eonun/data/meBlog/blog/themes/stun/layout/_common/config.pug:1
  > 1| -
    2|   var algolia = 'undefined';
    3|   var env = process.env;
    4|

Cannot read property 'appId' of undefined
    at eval (eval at wrap (/home/eonun/data/meBlog/blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:277:49)
    at template (eval at wrap (/home/eonun/data/meBlog/blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:1102:72)
    at pugRenderer (/home/eonun/data/meBlog/blog/node_modules/hexo-render-pug/lib/renderer.js:12:26)
    at Hexo.<anonymous> (/home/eonun/data/meBlog/blog/node_modules/hexo-render-pug/index.js:11:10)
    at Hexo.tryCatcher (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/util.js:16:23)
    at Hexo.<anonymous> (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/method.js:15:34)
    at Promise.then.text (/home/eonun/data/meBlog/blog/node_modules/hexo/lib/hexo/render.js:60:20)
    at tryCatcher (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:517:31)
    at Promise._settlePromise (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:574:18)
    at Promise._settlePromiseCtx (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:611:10)
    at _drainQueueStep (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:142:12)
    at _drainQueue (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:131:9)
    at Async._drainQueues (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:147:5)
    at Immediate.Async.drainQueues [as _onImmediate] (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:17:14)
    at runCallback (timers.js:705:18)
    at tryOnImmediate (timers.js:676:5)
    at processImmediate (timers.js:658:5)
ERROR Render HTML failed: index.html
TypeError: /home/eonun/data/meBlog/blog/themes/stun/layout/_common/config.pug:1
  > 1| -
    2|   var algolia = 'undefined';
    3|   var env = process.env;
    4|

Cannot read property 'appId' of undefined
    at eval (eval at wrap (/home/eonun/data/meBlog/blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:277:49)
    at template (eval at wrap (/home/eonun/data/meBlog/blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:1339:72)
    at pugRenderer (/home/eonun/data/meBlog/blog/node_modules/hexo-render-pug/lib/renderer.js:12:26)
    at Hexo.<anonymous> (/home/eonun/data/meBlog/blog/node_modules/hexo-render-pug/index.js:11:10)
    at Hexo.tryCatcher (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/util.js:16:23)
    at Hexo.<anonymous> (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/method.js:15:34)
    at Promise.then.text (/home/eonun/data/meBlog/blog/node_modules/hexo/lib/hexo/render.js:60:20)
    at tryCatcher (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:517:31)
    at Promise._settlePromise (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:574:18)
    at Promise._settlePromiseCtx (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:611:10)
    at _drainQueueStep (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:142:12)
    at _drainQueue (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:131:9)
    at Async._drainQueues (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:147:5)
    at Immediate.Async.drainQueues [as _onImmediate] (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:17:14)
    at runCallback (timers.js:705:18)
    at tryOnImmediate (timers.js:676:5)
    at processImmediate (timers.js:658:5)
ERROR /home/eonun/data/meBlog/blog/themes/stun/layout/_common/config.pug:1
  > 1| -
    2|   var algolia = 'undefined';
    3|   var env = process.env;
    4|

Cannot read property 'appId' of undefined
TypeError: /home/eonun/data/meBlog/blog/themes/stun/layout/_common/config.pug:1
  > 1| -
    2|   var algolia = 'undefined';
    3|   var env = process.env;
    4|

Cannot read property 'appId' of undefined
    at eval (eval at wrap (/home/eonun/data/meBlog/blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:277:49)
    at template (eval at wrap (/home/eonun/data/meBlog/blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:1318:72)
    at pugRenderer (/home/eonun/data/meBlog/blog/node_modules/hexo-render-pug/lib/renderer.js:12:26)
    at Hexo.<anonymous> (/home/eonun/data/meBlog/blog/node_modules/hexo-render-pug/index.js:11:10)
    at Hexo.tryCatcher (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/util.js:16:23)
    at Hexo.<anonymous> (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/method.js:15:34)
    at Promise.then.text (/home/eonun/data/meBlog/blog/node_modules/hexo/lib/hexo/render.js:60:20)
    at tryCatcher (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:517:31)
    at Promise._settlePromise (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:574:18)
    at Promise._settlePromiseCtx (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:611:10)
    at _drainQueueStep (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:142:12)
    at _drainQueue (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:131:9)
    at Async._drainQueues (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:147:5)
    at Immediate.Async.drainQueues [as _onImmediate] (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:17:14)
    at runCallback (timers.js:705:18)
    at tryOnImmediate (timers.js:676:5)
    at processImmediate (timers.js:658:5)
ERROR /home/eonun/data/meBlog/blog/themes/stun/layout/_common/config.pug:1
  > 1| -
    2|   var algolia = 'undefined';
    3|   var env = process.env;
    4|

Cannot read property 'appId' of undefined
TypeError: /home/eonun/data/meBlog/blog/themes/stun/layout/_common/config.pug:1
  > 1| -
    2|   var algolia = 'undefined';
    3|   var env = process.env;
    4|

Cannot read property 'appId' of undefined
    at eval (eval at wrap (/home/eonun/data/meBlog/blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:277:49)
    at template (eval at wrap (/home/eonun/data/meBlog/blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:1318:72)
    at pugRenderer (/home/eonun/data/meBlog/blog/node_modules/hexo-render-pug/lib/renderer.js:12:26)
    at Hexo.<anonymous> (/home/eonun/data/meBlog/blog/node_modules/hexo-render-pug/index.js:11:10)
    at Hexo.tryCatcher (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/util.js:16:23)
    at Hexo.<anonymous> (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/method.js:15:34)
    at Promise.then.text (/home/eonun/data/meBlog/blog/node_modules/hexo/lib/hexo/render.js:60:20)
    at tryCatcher (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:517:31)
    at Promise._settlePromise (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:574:18)
    at Promise._settlePromiseCtx (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:611:10)
    at _drainQueueStep (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:142:12)
    at _drainQueue (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:131:9)
    at Async._drainQueues (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:147:5)
    at Immediate.Async.drainQueues [as _onImmediate] (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:17:14)
    at runCallback (timers.js:705:18)
    at tryOnImmediate (timers.js:676:5)
    at processImmediate (timers.js:658:5)
ERROR /home/eonun/data/meBlog/blog/themes/stun/layout/_common/config.pug:1
  > 1| -
    2|   var algolia = 'undefined';
    3|   var env = process.env;
    4|

Cannot read property 'appId' of undefined
TypeError: /home/eonun/data/meBlog/blog/themes/stun/layout/_common/config.pug:1
  > 1| -
    2|   var algolia = 'undefined';
    3|   var env = process.env;
    4|

Cannot read property 'appId' of undefined
    at eval (eval at wrap (/home/eonun/data/meBlog/blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:277:49)
    at template (eval at wrap (/home/eonun/data/meBlog/blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:1102:72)
    at pugRenderer (/home/eonun/data/meBlog/blog/node_modules/hexo-render-pug/lib/renderer.js:12:26)
    at Hexo.<anonymous> (/home/eonun/data/meBlog/blog/node_modules/hexo-render-pug/index.js:11:10)
    at Hexo.tryCatcher (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/util.js:16:23)
    at Hexo.<anonymous> (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/method.js:15:34)
    at Promise.then.text (/home/eonun/data/meBlog/blog/node_modules/hexo/lib/hexo/render.js:60:20)
    at tryCatcher (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:517:31)
    at Promise._settlePromise (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:574:18)
    at Promise._settlePromiseCtx (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:611:10)
    at _drainQueueStep (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:142:12)
    at _drainQueue (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:131:9)
    at Async._drainQueues (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:147:5)
    at Immediate.Async.drainQueues [as _onImmediate] (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:17:14)
    at runCallback (timers.js:705:18)
    at tryOnImmediate (timers.js:676:5)
    at processImmediate (timers.js:658:5)
ERROR /home/eonun/data/meBlog/blog/themes/stun/layout/_common/config.pug:1
  > 1| -
    2|   var algolia = 'undefined';
    3|   var env = process.env;
    4|

Cannot read property 'appId' of undefined
TypeError: /home/eonun/data/meBlog/blog/themes/stun/layout/_common/config.pug:1
  > 1| -
    2|   var algolia = 'undefined';
    3|   var env = process.env;
    4|

Cannot read property 'appId' of undefined
    at eval (eval at wrap (/home/eonun/data/meBlog/blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:277:49)
    at template (eval at wrap (/home/eonun/data/meBlog/blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:1102:72)
    at pugRenderer (/home/eonun/data/meBlog/blog/node_modules/hexo-render-pug/lib/renderer.js:12:26)
    at Hexo.<anonymous> (/home/eonun/data/meBlog/blog/node_modules/hexo-render-pug/index.js:11:10)
    at Hexo.tryCatcher (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/util.js:16:23)
    at Hexo.<anonymous> (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/method.js:15:34)
    at Promise.then.text (/home/eonun/data/meBlog/blog/node_modules/hexo/lib/hexo/render.js:60:20)
    at tryCatcher (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:517:31)
    at Promise._settlePromise (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:574:18)
    at Promise._settlePromiseCtx (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:611:10)
    at _drainQueueStep (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:142:12)
    at _drainQueue (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:131:9)
    at Async._drainQueues (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:147:5)
    at Immediate.Async.drainQueues [as _onImmediate] (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:17:14)
    at runCallback (timers.js:705:18)
    at tryOnImmediate (timers.js:676:5)
    at processImmediate (timers.js:658:5)
ERROR /home/eonun/data/meBlog/blog/themes/stun/layout/_common/config.pug:1
  > 1| -
    2|   var algolia = 'undefined';
    3|   var env = process.env;
    4|

Cannot read property 'appId' of undefined
TypeError: /home/eonun/data/meBlog/blog/themes/stun/layout/_common/config.pug:1
  > 1| -
    2|   var algolia = 'undefined';
    3|   var env = process.env;
    4|

Cannot read property 'appId' of undefined
    at eval (eval at wrap (/home/eonun/data/meBlog/blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:277:49)
    at template (eval at wrap (/home/eonun/data/meBlog/blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:1102:72)
    at pugRenderer (/home/eonun/data/meBlog/blog/node_modules/hexo-render-pug/lib/renderer.js:12:26)
    at Hexo.<anonymous> (/home/eonun/data/meBlog/blog/node_modules/hexo-render-pug/index.js:11:10)
    at Hexo.tryCatcher (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/util.js:16:23)
    at Hexo.<anonymous> (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/method.js:15:34)
    at Promise.then.text (/home/eonun/data/meBlog/blog/node_modules/hexo/lib/hexo/render.js:60:20)
    at tryCatcher (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:517:31)
    at Promise._settlePromise (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:574:18)
    at Promise._settlePromiseCtx (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:611:10)
    at _drainQueueStep (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:142:12)
    at _drainQueue (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:131:9)
    at Async._drainQueues (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:147:5)
    at Immediate.Async.drainQueues [as _onImmediate] (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:17:14)
    at runCallback (timers.js:705:18)
    at tryOnImmediate (timers.js:676:5)
    at processImmediate (timers.js:658:5)
ERROR /home/eonun/data/meBlog/blog/themes/stun/layout/_common/config.pug:1
  > 1| -
    2|   var algolia = 'undefined';
    3|   var env = process.env;
    4|

Cannot read property 'appId' of undefined
TypeError: /home/eonun/data/meBlog/blog/themes/stun/layout/_common/config.pug:1
  > 1| -
    2|   var algolia = 'undefined';
    3|   var env = process.env;
    4|

Cannot read property 'appId' of undefined
    at eval (eval at wrap (/home/eonun/data/meBlog/blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:277:49)
    at template (eval at wrap (/home/eonun/data/meBlog/blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:1339:72)
    at pugRenderer (/home/eonun/data/meBlog/blog/node_modules/hexo-render-pug/lib/renderer.js:12:26)
    at Hexo.<anonymous> (/home/eonun/data/meBlog/blog/node_modules/hexo-render-pug/index.js:11:10)
    at Hexo.tryCatcher (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/util.js:16:23)
    at Hexo.<anonymous> (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/method.js:15:34)
    at Promise.then.text (/home/eonun/data/meBlog/blog/node_modules/hexo/lib/hexo/render.js:60:20)
    at tryCatcher (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:517:31)
    at Promise._settlePromise (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:574:18)
    at Promise._settlePromiseCtx (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/promise.js:611:10)
    at _drainQueueStep (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:142:12)
    at _drainQueue (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:131:9)
    at Async._drainQueues (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:147:5)
    at Immediate.Async.drainQueues [as _onImmediate] (/home/eonun/data/meBlog/blog/node_modules/bluebird/js/release/async.js:17:14)
    at runCallback (timers.js:705:18)
    at tryOnImmediate (timers.js:676:5)
    at processImmediate (timers.js:658:5)

主题 v1.4.0 存在错误无法运行,请更新主题到最新版

I want to create a new issue

Stun Information

Stun Version: 1.4.0

Platform: Windows

Browser: Chrome

Expected behaviour

show local blog after I enter "hexo clean && hexo s" and open "http://localhost:4000/"

Actual behaviour

When I enter "hexo clean && hexo s", it's still okey.
before
But when I try to open "http://localhost:4000/", bug appears.
typeError

Steps to reproduce the behaviour

hexo clean && hexo s
open "http://localhost:4000/"

Feature Request


顶部图mask属性在deploy时无法成功应用

I want to create a new issue

Stun Information

Stun Version:
1.7.0

Hexo Version:
hexo: 4.2.0
hexo-cli: 3.1.0

Platform:
os: Windows_NT 10.0.18362 win32 x64

Browser:
Chrome

Expected behaviour

Actual behaviour

运行hexo s,在本地顶部图mask是可以正常显示的。
hexo d部署到GitHub page之后无法显示。
已经尝试过多次hexo clean && hexo g

898fWF.png
898WJU.png

Feature Request


Clicking the parent element of secondary menu to jump

I want to create a new issue

Stun Information

Stun Version:
1.5.4

Hexo Version:
ALL

Platform:
ALL

Browser:
ALL

Expected behaviour

Clicking the parent element of secondary menu does not jump.

Actual behaviour

Clicking the parent element of secondary menu to jump.
snipaste20191210092331

Steps to reproduce the behaviour

Clicking the parent element of secondary menu.

Feature Request

no


更新时间问题

你好,由于我换了电脑进行了迁移,不知道什么时候改了什么东西,现在更新文章,文章头的更新于的时间不变了,这个要怎么办呀

KaTex(hexo-renderer-markdown-it-plus) error. 启用KaTex公式后的错误

I want to create a new issue

Stun Information

Stun Version: v1.7.0

Hexo Version: 4.2.0

Platform: Windows / Linux

Browser: All

package.json

{
  "name": "hexo-site",
  "version": "0.0.0",
  "private": true,
  "scripts": {
    "build": "hexo generate",
    "clean": "hexo clean",
    "deploy": "hexo deploy",
    "server": "hexo server"
  },
  "hexo": {
    "version": "4.2.0"
  },
  "dependencies": {
    "hexo": "^4.0.0",
    "hexo-admin": "^2.3.0",
    "hexo-autonofollow": "^1.0.1",
    "hexo-generator-archive": "^1.0.0",
    "hexo-generator-baidu-sitemap": "^0.1.6",
    "hexo-generator-category": "^1.0.0",
    "hexo-generator-index-pin-top": "^0.2.2",
    "hexo-generator-search": "^2.4.0",
    "hexo-generator-sitemap": "^2.0.0",
    "hexo-generator-tag": "^1.0.0",
    "hexo-render-pug": "^2.1.4",
    "hexo-renderer-ejs": "^1.0.0",
    "hexo-renderer-markdown-it-plus": "^1.0.4",
    "hexo-renderer-stylus": "^1.1.0",
    "hexo-server": "^1.0.0",
    "hexo-tag-dplayer": "^0.3.3",
    "hexo-wordcount": "^6.0.1",
    "lazyload": "^2.0.0-rc.2"
  }
}

Actual behaviour

  1. After I run npm un hexo-renderer-marked --saveandnpm i hexo-renderer-markdown-it-plus --save
    The KaTex can't display successfully.
    link: https://cjh0613.gitee.io/blog/20200502Electrotechnics1.html

2. I can't hexo server successfully as usual.(solved)
error page link: https://cjh0613.gitee.io/blog/20200402HexoTagPlugins.html
IN git-bash:

Nunjucks Error:  [Line 5, Column 4] unknown block tag: note
    =====               Context Dump               =====
    === (line number probably different from source) ===
  1 | <p>标签插件和 Front-matter 中的标签不同,它们是用于在文章中快速插入特定内容的插件。</p>
  2 | <p><a href="https://hexo.io/zh-cn/docs/tag-plugins.html">https://hexo.io/zh-cn/docs/tag-plugins.html</a></p>
  3 | <!-- more -->
  4 | <h2 id="插入注释-badge-textstable-badge-textv120"><a class="markdownIt-Anchor" href="#插入注释-badge-textstable-badge-textv120"></a> 插入注释 <Badge text="Stable"/> <Badge text="v1.2.0"/></h2>
  5 | {% note warning no-icon %}
  6 | **info** 类型的标注从 `v2.0.0-rc.0` 开始支持,其他类型的标注均从 `v1.2.0` 开始支持。
  7 | {% endnote %}

Steps to reproduce the behaviour

Feature Request


Pagination of homepage article list

Pagination of homepage article list

Stun Information

Stun Version: 1.0.3以上

Hexo Version: 4.2.0

Platform: Window

Browser: Edge、Chrome

Expected behaviour

The home page list is paged, and the value of home is set to true to achieve paging effect

Actual behaviour

There is no page break in the homepage article list

Steps to reproduce the behaviour

Feature Request

Do articles need to reach a certain number to realize paging function?
What's the quantity then?


hexo s 后location:4000 报错 full_url_for is not a function问题

I want to create a new issue

Stun Information

2020/4/17 The latest version

Hexo Version

  • hexo: 3.9.0
  • hexo-cli: 2.0.0
  • os: Windows_NT 10.0.18362 win32 x64
  • http_parser: 2.8.0
  • node: 10.15.3
  • v8: 6.8.275.32-node.51
  • uv: 1.23.2
  • zlib: 1.2.11
  • ares: 1.15.0
  • modules: 64
  • nghttp2: 1.34.0
  • napi: 3
  • openssl: 1.1.0j
  • icu: 62.1
  • unicode: 11.0
  • cldr: 33.1
  • tz: 2018e

Windows

The console error code is as follows

Unhandled rejection TypeError: C:\Users\ThinkPad\blog\themes\stun\layout\_partials\head\head.pug:72
   70|
   71| if theme.canonical
 > 72|   link(ref="canonical" href=full_url_for(page.path))
   73|
   74| if theme.feed.rss
   75|   link(rel="alternate" href=url_for(theme.feed.rss) type="application/atom+xml")

full_url_for is not a function
   at eval (eval at wrap (C:\Users\ThinkPad\blog\node_modules\[email protected]@pug-runtime\wrap.js:6:10), <anonymous>:149:77)
   at template (eval at wrap (C:\Users\ThinkPad\blog\node_modules\[email protected]@pug-runtime\wrap.js:6:10), <anonymous>:5556:72)
   at Theme._View.View._compiled.locals [as _compiled] (C:\Users\ThinkPad\blog\node_modules\hexo\lib\theme\view.js:123:48)
   at Theme._View.View.View.render (C:\Users\ThinkPad\blog\node_modules\hexo\lib\theme\view.js:29:15)
   at C:\Users\ThinkPad\blog\node_modules\hexo\lib\hexo\index.js:349:21
   at tryCatcher (C:\Users\ThinkPad\blog\node_modules\bluebird\js\release\util.js:16:23)
   at C:\Users\ThinkPad\blog\node_modules\bluebird\js\release\method.js:15:34
   at RouteStream._read (C:\Users\ThinkPad\blog\node_modules\hexo\lib\hexo\router.js:123:3)
   at RouteStream.Readable.read (_stream_readable.js:453:10)
   at resume_ (_stream_readable.js:929:12)
   at process._tickCallback (internal/process/next_tick.js:63:19)
  1. Solution
    My solution is to directly comment the error statement

不蒜子统计启动后出现重复统计

Stun Version: 1.7.0

Hexo Version: 4.2.0

Platform: Linux

Browser: Chrome

每次打开文章或者是刷新网页,文章浏览数和网站总浏览数都+2了,而不是+1。

在我注释掉layout\_layout.pug中的两行include ./_third-party/analytics/busuanzi.pug情况得到解决。感觉上像是layout\_layout.puglayout\_partials\footer\footer.pug重复添加不蒜子js链接造成的访问重复?

两个js的回调顺序有时候会反过来,浏览数会先+2然后-1,大概是网络问题罢

mathjax配置不成功,不进行渲染

Stun Information

Stun Version:
1.2.2

Platform:
Windows 10

Browser:
Firefox

Expected behaviour

在进行了相关的配置之后成功加载数学公式。

Actual behaviour

在进行了相关的配置之后未成功加载数学公式。

这是我的示例网址

可以看到并没有进行渲染。

这是stun.yml

math:
  enable: true

  # Only the page which has `math: true` in Front-matter will render.
  # If true, it will load mathjax / katex srcipt EVERY PAGE.
  per_page: true

  engine: mathjax

  # See: https://github.com/mathjax/MathJax/
  # hexo-renderer-pandoc (or hexo-renderer-kramed) needed to full MathJax support.
  mathjax:
    cdn: https://cdn.jsdelivr.net/npm/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML

    # See: https://mhchem.github.io/MathJax-mhchem/
    mhchem:
      enable: false
      mhchem_js: https://cdn.jsdelivr.net/npm/[email protected]/mhchem.min.js
  

这是hello-world.md

---
title: Hello World
math: true
---

$a+b$


\[ a+b \]

捕获.JPG


你好,如何更换主题封面

I want to create a new issue

Stun Information

Stun Version:

Hexo Version:

Platform:

Browser:

Expected behaviour

Actual behaviour

Steps to reproduce the behaviour

Feature Request


关于首页的ReadMore按钮

关于首页每篇文章的ReadMore按钮,就是文章无论多长都会在首页全部加载,这个readmore按钮似乎没啥意义,怎么能调整下,让首页每篇文章只展示部分,谢谢!
image

Copying code using Safari failed

I want to create a new issue

Stun Information

Stun Version:
v2.0.0-rc.0

Hexo Version:
v4.2.0

Platform:
macOS

Browser:
Safari

Expected behaviour

Code copied successfully using Safari

Actual behaviour

Copying code using Safari failed

Steps to reproduce the behaviour

Xnip2020-04-15_09-02-38

Feature Request

no


Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.