<@td.pageUrl>

Example usage:

Assuming the existence of a /pages/custom/demo.ftl:

<@td.pageUrl page="demo" />

would insert the url to the page created by the demo.ftl template into the DOM. It is most useful as the href attribute to an anchor tag.

<a href=<@td.pageUrl page="demo.ftl" />>Demo Page</a>

Alternatively, the url could be stored in a variable and referenced later in the page:

<@td.pageUrl var=url page="demo.ftl" />
.
.
.
<a href=${url}>Demo Page</a>

The value of the @page attribute must be a template file relative to /pages/custom/.