diff --git a/includes/config.local.php.sample b/includes/config.local.php.sample index 3e9c21c..6984fe2 100644 --- a/includes/config.local.php.sample +++ b/includes/config.local.php.sample @@ -36,6 +36,16 @@ // Tag pour les shorts // define('TAG_SHORT', 'short'); +// Hashtags populaires à afficher dans la sidebar, footer et menu mobile +// define('POPULAR_TAGS', [ +// 'Colonialisme', +// 'La Réunion', +// 'Panafricanisme', +// 'Conférence', +// 'Indépendance', +// 'Histoire' +// ]); + // Durée maximale des shorts en secondes // define('SHORTS_MAX_DURATION', 120); // 2 minutes @@ -46,6 +56,9 @@ // Nombre de vidéos par page // define('VIDEOS_PER_PAGE', 12); +// Limite de vidéo à chercher +// define('COUNT_VIDEO_SEARCH', 6); + // Nombre de vidéos à la une // define('FEATURED_VIDEOS_COUNT', 6); diff --git a/includes/config.php b/includes/config.php index 1c0e5cb..022b4ed 100644 --- a/includes/config.php +++ b/includes/config.php @@ -96,6 +96,16 @@ if (!defined('LIVE_ACCOUNT_NAME')) define('LIVE_ACCOUNT_NAME', 'admin'); // Tags pour filtrer les vidéos selon les catégories if (!defined('TAG_SHORT')) define('TAG_SHORT', 'short'); +// Hashtags populaires à afficher dans la sidebar, footer et menu mobile +if (!defined('POPULAR_TAGS')) { + define('POPULAR_TAGS', [ + 'Colonialisme', + 'La Réunion', + 'Panafricanisme', + 'Conférence' + ]); +} + // Locale et fuseau horaire setlocale(LC_TIME, 'fr_FR.UTF-8'); date_default_timezone_set('Indian/Reunion'); diff --git a/includes/footer.php b/includes/footer.php index f367b3b..ca8eccb 100644 --- a/includes/footer.php +++ b/includes/footer.php @@ -31,10 +31,16 @@
diff --git a/includes/mobile-menu.php b/includes/mobile-menu.php index cebfeda..3c3e10e 100644 --- a/includes/mobile-menu.php +++ b/includes/mobile-menu.php @@ -57,18 +57,18 @@