Here's my scenario. I have a contact-me page with a contact form who's action is a PHP script that fires off an email via Mandrill. That all works fine.
When the call to Mandrill in the PHP script succeeds, I want to send the user back to the contact-me page with the GET method carrying the result variable - success in this example. So http://www.mysite.com/contact-me?result=sucess. And I think that is working too.
Here's the problem, when I get back to the contact-me page I want to look for the result variable and not render the contact form, but instead render a success message. You guys have seen this many times on the web.
But with Grav and Twig, how do I get at that $_GET variable so I can find the contents of results?