Quick question about the content folder

If I want to use certain images on multiple pages should I put them directly in the content folder? And then instead of $page use $site?

Have a great day!

That would work, yes.

Otherwise, if you don’t care about the image being modified via the panel (often the case for the site logo, for example), you can also put it into an /assets folder and then link to it with

<img src="<?= url('assets/logo.svg') ?>" alt="My Company">
1 Like