O

Template directive: Domlink

The @domlink() directive is similar to the @domurl() directive. The major difference is that the @domlink() converts all dots to front slashes in any url supplied. This means that it can only be applied on certain kinds of url formats.
domlink()
  <a href="@domlink('res.images.myimage')"> myimage </a>   
                
resolved as
  <a href="{domain}/res/images/myimage"> myimage </a> 
                
This directive also support http protocols as shown below:
  <head>
    <link href="@domurl('https://some-site.com/assets/css/site.css')" /> 
  </head>