$site->hasVideos() Checks if the Files collection has any videos kirby/src/Cms/HasFiles.php#L147 $site->hasVideos(): bool Return type bool Parent class Kirby\Cms\Site Example <?php if($site->hasVideos()): ?> The /content folder contains video files. <?php endif ?>