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

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *