I'm very new to drupal and have to do some real quick small work. While going through the documentation at https://www.drupal.org/docs/8/theming/twig/functions-in-twig-templates, I saw string parameter to url() function.
<a href="{{ url('view.frontpage.page_1') }}">{{ 'View all content'|t }}</a>
what is the value that url() is taking?
Infact, i'm trying to get relative path. I used
<a href="{{directory}}/solutions.html">Solutions</a>
But, it didn't work for me because {{directory}} changed each time and led to url append. Is there any best practices? Thank you for suggestions.
drupal router:debug.Consider to switch to drupal.stackexchange.com with your questions. - malcolm