I am trying to add an image to a post.
I add it in the ./static folder.
When I want to add it to in my post :
![Cat Image](../cat.jpg)
Is there a way to not add …/, I find that a little weird.
Here is the photo :
Here is the post with my the image link :
+++
date = "2017-04-19T13:38:07-04:00"
draft = false
title = "Histoire"
menu = "main"
weight = "1"
baseURL = "baseURL"
+++
## Histoire de N3
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
[About](/about)
![Cat Image](../cat.jpg)
Thank you!
Using a / at the beginning should work if you are serving it from the root of the domain.
As you use this in the About link already I guess you serve it from the root.
1 Like