How to get the URL of document in template ?

Hello, I send a email with a template. in the template I have a list of document and I want get the URL of each doc.

Code :

 <#list Context['myDocList'] as myDoc>
    <li><a href="${myDoc.url}">${myDoc['dc:title']}</a></li>
  </#list>

Thanks.

1 votes

0 answers

789 views

ANSWER