How do I link a page in a template? If there is a basic page with the route '/about', how can I link it in a template file?

&lt;a href="{{ What goes here? }}"&gt;&lt;/a&gt;
Let assume the page is a node whose ID is 4. You can use the following code, in a template file.

&lt;a href="{{ path('entity.node.canonical', {'node': 4}) }}"&gt;About us&lt;/a&gt;"