$site->code()
Filters the Files collection by type code
$site->code(): Kirby\Cms\Files
Return type
This method modifies the existing $site
object it is applied to and returns it again.
Parent class
Examples
<?php foreach($site->code()->filterBy('extension', 'css') as $css): ?>
<?= css($css->url()) ?>
<?php endforeach ?>