2

In my .md file I specified blogpost-image as a new front-end variable. In my article.ejs file I have following: <div class="blogpost-image"><span><img src=""></span><%- post.blogpost-image %><div></div></div>

And in my .md file I have this path ... blogpost-image: /images/test.jpg

How to make it work with images in Hexo?

When I do the same with a text value, such as author: John Doe it works perfectly.

0 Answers0