Asset Tag

The Asset (singular tense) tag retrieves single assets by their URL.


The Asset tag’s primary purpose is to retrieve Assets by their URL. Pass the URL into the url parameter and voila. To say it did any more than that would be a lie.


{{ asset url="/img/brand/logo.png" }}
  <img src="{{ url }}" alt="{{ alt }}">
{{ /asset }}


url string

The path to the file, relative to the web root.

Betterify this page on Github!