[SOLVED] URI to first level root in HTML-Template

An easy question. How can I write this href URI to the homepage that it works in the frontend and backend?

<a href="./" class="site--logo"><!-- logo --></a>

Do I have to use the f:uri.action?

If you want to link to your first level root (homepage) you can do it like this:

<a href="{neos:uri.node(node: '~')}" class="site--logo"><!-- your logo --></a>
1 Like

Cool! It works. Thank you!

1 Like