Get current URL in Twig template?

I looked around for the code to get the current path in a Twig template (and not the full URL), i.e.
I don’t want http://www.sitename.com/page, I only need /page.

7 Answers
7

Leave a Comment