fn: pathtopage
[contents]

Contents

Syntax

The syntax for pathtopage calls is:

f++:  
pathtopage(string)

n++:  
@pathtopage(string)

Description

The pathtopage function takes a single string parameter specifying a tracked name and returns the relative path from the file being built to the output file for the tracked name specified by the parameter.

n++ example

Example of pathtopage being used with n++:

<a href="@pathtopage(index)">home</a>