kieste
kieste

Reputation: 533

Get current uri in Typo3 Neos Page Template

How can I get the current URI within a Typo3 Neos Page Template?

I tried something like {fed:page.absoluteUrl()}. But this doesn't work.

Upvotes: 0

Views: 1051

Answers (1)

Janus Tøndering
Janus Tøndering

Reputation: 924

Use

{neos:uri.node(node: node)} 

instead.

Fx:

<a href="{neos:uri.node(node: node)}">Link Here</a>

Upvotes: 1

Related Questions