File URLs change when pages are moved or made invisible

For now you can do:

<?= $page->url() . '/' . $file->filename() ?> 

in your templates to get the static URL to the files. We might consider adding an option to make this the default if you have to have this.

6 Likes