Get the url from grav page

I want to take the url of the page and insert it inside a specific twig element, like this:

     <a href="{{ url }}"></a>

Hi @lucapu88, I think page.url might be what you are looking for?

Let me know.

Hello @paulhibbitts! thanks for replying, but unfortunately page.url gives me the url of the page where I write. I wish I could insert any url in the .md file, then a user writes and then I can call it in a <a> tag wherever I want in the .twig file,

Ah, sorry I do not know how to do that.

You can add an extra text field in the page blueprint then call it from twig.