Skip to content

Hexo博客正文图片不显示解决方法 #5000

Discussion options

You must be logged in to vote

解决方法:
将_config.yml中的post_asset_folder设置为true,通过命令行新建文章,将图片放在伴随命令行指令产生的文件夹中,在通过如{% asset_img example.jpg This is an example image %}的标签插件来引入图片即可。

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by stevenjoezhang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant