Hello there, im making my very first site with Grav and i want know if i can get the mother page slug in a children page template.
Ex: In the template page for url “/blog/general/first-post” show the “general” page slug
Hello there, im making my very first site with Grav and i want know if i can get the mother page slug in a children page template.
Ex: In the template page for url “/blog/general/first-post” show the “general” page slug
Hello!
{{page.parent.slug}}
Or you could use {{ home_url }}