$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 ?>

Is something missing or incorrect? Edit this page on Github…