$site->hasVideos()

Checks if there are any videos placed directly in /content

  • return (boolean)

Example

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