Get the route path of a page



I have a small problem, i put info in the route path that i need to recover to rend it in my twig template (like

I want to retrieve “informartion” as a var to use it in my twig template.

Thanks in advance

I already tried all answer from this post :

nothing worked :confused:


what are you trying exactly?


I found my answer !

i try to have the url, but it’s simply the slug in Grav.

so {{page.slug}} is my solution :slight_smile: sorry for that !

Grav is awesome (when you take the time to read the doc :smiley: ) !