How to fix deprecated: Page.URL?


How can you replace the .URL call in the menu template range loop ?


menu.URL is not deprecated and it is precisely what one is supposed to use for their Menu Templates.

The console warning is about .Page.URL

To fix, please use .Permalink or .RelPermalink within the .Pages range of your project’s templates.