Menu icon Foundation

Developer

My Posts

No Content

My Comments

Robert Bottomley commented on Ettiene Grobler's post almost 2 years

What I can't find is how to determine the path to a page from within a helper function. If I have:

test.html
subdir/test.html

they both have {{page}} equal to test. How can I get the directory? I can't find anything that will return that. {{root}} is different but all that shows is that the second file is not in the root directory but not what directory it is in.

Posts Followed


Following

    No Content

Followers

My Posts

No Content

My Comments

You commented on Ettiene Grobler's post almost 2 years

What I can't find is how to determine the path to a page from within a helper function. If I have:

test.html
subdir/test.html

they both have {{page}} equal to test. How can I get the directory? I can't find anything that will return that. {{root}} is different but all that shows is that the second file is not in the root directory but not what directory it is in.

Posts Followed

Following

  • No Content

Followers

  • No Content