title: Create a link with an anchor with Twig path function in Symfony 2
body: <p>I'm trying to create a link with an anchor like "www.example.com/services#anchor1" in my Twig template. So far I've been using the <strong>path</strong> function to create links <code>path('services')</code>. I have tried with <code>path('services#anchor1')</code> but obviously it doesn't work.</p>
  
  <p>It doesn't seem to be a lot of information about this function or it's just that I can't find it. Any idea about how could I do it?</p>
  
  <p>Thanks!</p>