Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Get the path from route

Started by Muut Archive 10 years ago · 2 replies · 608 views
10 years ago

Can anyone please tell me how do I get the full path of a page from the route?

10 years ago

With twig, you can simply type {{ page.url(true) }}

10 years ago

I was able to get it actually using the path() function. Thanks :)

Suggested topics

Topic Participants Replies Views Activity
Archive · by Muut Archive, 10 years ago
1 672 1 week ago
Archive · by Deleted User, 9 years ago
0 3042 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5336 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago