I'm attempting to retrieve a GET request variable for use in a twig template. For instance if you go to the page myurl.com/node/64?name=Dave I want the page to render
<h1>Dave</h1>
However I'm having trouble retrieving this variable. I've attempted
<h1>{{app.request.get('name')}}</h1>
In my twig template but it turns up empty. How would I retrieve a GET variable from within a twig template?