How do I link a page in a template?
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;"