Hexo-theme-next: Ubuntu18.04配置的hexo+next,网页不能显示本地图片

Created on 16 Aug 2019  ·  8Comments  ·  Source: theme-next/hexo-theme-next

采用{%asset_img example.jpg examplename%}依然不能显示图像,在win10下可以。

Hexo Question Solved

All 8 comments

Thanks for opening this issue, maintainers will get back to you as soon as possible!

Issue-Label Bot is automatically applying the label Bug to this issue, with a confidence of 0.58. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

换个主题试试,比如默认的landscape。如果问题依然存在,就去找Hexo解决问题。

换个主题试试,比如默认的landscape。如果问题依然存在,就去找Hexo解决问题。

感谢回复

{% asset_img example.jpg This is an example image %}

这是官方文档里的用法,是不是在百分号里面加上空格就好了呢?

{% asset_img example.jpg This is an example image %}

这是官方文档里的用法,是不是在百分号里面加上空格就好了呢?

ubuntu下的nodejs是6.几的,我下载了nodejs10的源代码编译安装了,之后就没问题了。

@tuoniaoren 环境配置环节就有问题了可还行

Hexo v4.0开始要求node >= 8.6

Was this page helpful?
0 / 5 - 0 ratings