I setuped an octopress blog for my github and now I want to add new posts. I need to add images to my posts, which I tried doing like so:
{% img /images/image.png 'alt' %}
This will only work on the root url of the app. When I view the blog post alone, the url looks like http://example.com/blog/2013/06/11/title/ so the url /images/ won't work.
I then tried this:
{% img {{root_url}} /images/image.png 'alt' %}
And it won't work either. But a link like this:
[Link!]({{ root_url }} /images/image.png")
works perfectly.
I would like a bit of help, Thanks a lot.