forty icon indicating copy to clipboard operation
forty copied to clipboard

Use the correct property to generate the image src url

Open dolanor opened this issue 5 years ago • 1 comments

I found a bug where the picture set in the .Site.Params.Image doesn't get a correct URL. Hopefully this was the problem, and I fixed it.

Thank you.

dolanor avatar Jun 26 '19 19:06 dolanor

It might be even better to use the absURL function as it's more compatible with baseURL with or without trailing slashes.

So I think

<span class="image main"><img src="{{ .Params.image | absURL }}" alt="" /></span>

might work.

funkydan2 avatar Jun 28 '19 01:06 funkydan2