$site->hasAudio()

Checks if there are any audio files placed directly in /content

  • return (boolean)

Example

<?php if($site->hasAudio()): ?>
The /content folder contains audio files.
<?php endif ?>