$site->code()

Returns a $files collection with all code files (css, js, html) placed directly in /content

  • return ($files)

Example

<?php foreach($site->code()->filterBy('extension', 'css') as $css): ?>
<?php echo css($css->url()) ?>
<?php endforeach ?>