Get the route path of a page

Hello,

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 www.hello.com/information)

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 : https://stackoverflow.com/questions/9378714/get-current-url-in-twig-template

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: ) !