I'm trying to link to a Drupal path like "Contact Us" in my Twig template. I've tried this code in my Twig template but I can't get any result.
<a href="{{ contact }}">{{ 'Contact'|t }}</a>
As well as this:
<a href="{{ path('contact') }}">{{ 'Contact'|t }}</a>
<a href="{{ url('contact') }}">{{ 'Contact'|t }}</a>
What is the correct way to link to an internal Drupal path in Twig?