feat: hide video count

This commit is contained in:
2025-10-17 12:24:56 +04:00
parent 2602d4099d
commit 4b4cffa0f3
4 changed files with 12 additions and 2 deletions
+2
View File
@@ -19,7 +19,9 @@ foreach ($recentVideos as $video):
<h3 class="video-title"><?php echo $video['title']; ?></h3>
<div class="video-channel"><?php echo $video['channel']; ?></div>
<div class="video-metadata">
<?php if (defined('SHOW_VIDEO_VIEWS') && SHOW_VIDEO_VIEWS): ?>
<span class="video-views"><?php echo formatViewCount($video['views']); ?> vues</span>
<?php endif; ?>
<span class="video-date"><?php echo formatDate($video['date']); ?></span>
</div>
</div>