.GetPage if url instead of path is given

There is a function called .GetPage which gets a page of a given path.

Is there something similar if the url (defined in Front Matter) is given?


I have a very complex folder structure (highly nested) but very simple URLs, so this would have been really nice.

Thank you anyway! :slightly_smiling_face:

But note that you could probably build this your self either using a simple loop or using where. It will not be particulary super-fast, but if you use partialCached with the url as the key, that will help. Remember that partials can return values (and be inlided), super-useful for custom functions.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.