How do I get the host url in post file?
<p>The question is in <code>jekyll</code>.I put my images resource into <code>assets/images/</code> folder.And I want to refer this image in my post file. 
The site give these <a href="http://jekyllrb.com/docs/posts/" rel="nofollow">solution</a>:</p>

<pre><code>... which is shown in the screenshot below:
![My helpful screenshot]({{ site.url }}/assets/screenshot.jpg)
</code></pre>

<p>But how do I know the the host instead of <code>site.url</code>? So it will work fine in local and github page.</p>