- ๐บ๐ธUnited States tea.time
I ran into this too and while I know I could preprocess to extract the URL value for the template, I was curious if there was a simple Twig solution as well.
This worked for me to print the URL appropriately for both internal and external links, with the link field formatter set to "Separate link text and URL":
{% set url = content.field_url.0['#url'] ?? '' %} <a href="{{ url }}">This is my link</a>