[[depth]]

The depth snippet calculates the depth of the document from the root of the site. A value of 1 is returned for the top most document, 2 for the next level and so on.

Parameter Description
offset Optional offset to apply to the depth, defaults to 0.



TOP