$site->hasArchives()
Checks if there are any archive files (zip, gzip, tar) placed directly in /content
-
return (boolean)
Example
<?php if($site->hasArchives()): ?>
The /content folder contains archive files.
<?php endif ?>
Checks if there are any archive files (zip, gzip, tar) placed directly in /content
<?php if($site->hasArchives()): ?>
The /content folder contains archive files.
<?php endif ?>