$field->toUrl()
Turns the field value into an absolute Url
$field->toUrl(): string
Return type
string
Example
Text file
Title: My great article
----
More: some/related/page
Template
<a href="<?= $page->more()->toUrl() ?>">Read more …</a>
Turns the field value into an absolute Url
$field->toUrl(): string
string
Title: My great article
----
More: some/related/page
<a href="<?= $page->more()->toUrl() ?>">Read more …</a>