feat: remplace kaubuntu by OKI

This commit is contained in:
2025-10-17 12:24:02 +04:00
parent a5fc9843e3
commit 2602d4099d
11 changed files with 71 additions and 67 deletions
+11 -9
View File
@@ -42,7 +42,7 @@ if ($categoryId && isset($allCategories[$categoryId])) {
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="csrf-token" content="<?php echo generateCSRFToken(); ?>">
<title><?php echo htmlspecialchars($categoryName); ?> - kaubuntu.re</title>
<title><?php echo htmlspecialchars($categoryName); ?> - <?php echo SITE_NAME; ?></title>
<link rel="stylesheet" href="css/styles.css?v=<?php echo filemtime('css/styles.css'); ?>">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css">
@@ -55,24 +55,24 @@ if ($categoryId && isset($allCategories[$categoryId])) {
<meta name="theme-color" content="#ffffff">
<!-- Open Graph Meta Tags -->
<meta property="og:title" content="Catégorie : <?php echo htmlspecialchars($categoryName); ?> - kaubuntu.re">
<meta property="og:description" content="Découvrez toutes les vidéos de la catégorie <?php echo htmlspecialchars($categoryName); ?> sur kaubuntu.re. Contenu multimédia de qualité et exclusif.">
<meta property="og:title" content="Catégorie : <?php echo htmlspecialchars($categoryName); ?> - <?php echo SITE_NAME; ?>">
<meta property="og:description" content="Découvrez toutes les vidéos de la catégorie <?php echo htmlspecialchars($categoryName); ?> sur <?php echo SITE_NAME; ?>. Contenu multimédia de qualité et exclusif.">
<meta property="og:image" content="<?php echo 'https://' . $_SERVER['HTTP_HOST'] . '/img/logo.png'; ?>">
<meta property="og:url" content="<?php echo 'https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; ?>">
<meta property="og:type" content="website">
<meta property="og:site_name" content="kaubuntu.re">
<meta property="og:site_name" content="<?php echo SITE_NAME; ?>">
<meta property="og:locale" content="fr_FR">
<!-- Twitter Card Meta Tags -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Catégorie : <?php echo htmlspecialchars($categoryName); ?> - kaubuntu.re">
<meta name="twitter:description" content="Découvrez toutes les vidéos de la catégorie <?php echo htmlspecialchars($categoryName); ?> sur kaubuntu.re. Contenu multimédia de qualité et exclusif.">
<meta name="twitter:title" content="Catégorie : <?php echo htmlspecialchars($categoryName); ?> - <?php echo SITE_NAME; ?>">
<meta name="twitter:description" content="Découvrez toutes les vidéos de la catégorie <?php echo htmlspecialchars($categoryName); ?> sur <?php echo SITE_NAME; ?>. Contenu multimédia de qualité et exclusif.">
<meta name="twitter:image" content="<?php echo 'https://' . $_SERVER['HTTP_HOST'] . '/img/logo.png'; ?>">
<!-- Données structurées JSON-LD pour la page de catégorie -->
<?php
$categoryUrl = getBaseUrl() . '/categories.php?id=' . $categoryId;
$categoryDescription = 'Découvrez toutes les vidéos de la catégorie ' . $categoryName . ' sur kaubuntu.re';
$categoryDescription = 'Découvrez toutes les vidéos de la catégorie ' . $categoryName . ' sur ' . SITE_NAME;
$collectionJsonLd = generateVideoCollectionJsonLd($categoryName, $categoryDescription, $videos, $categoryUrl);
outputJsonLd($collectionJsonLd);
@@ -110,7 +110,7 @@ if ($categoryId && isset($allCategories[$categoryId])) {
<div class="video-section category-page" data-category-id="<?php echo $categoryId; ?>">
<div class="section-header">
<div class="section-logo">
<img src="img/logo.png" alt="kaubuntu.re">
<img src="img/logo.png" alt="<?php echo SITE_NAME; ?>">
</div>
<h2 class="section-title">Catégorie : <?php echo htmlspecialchars($categoryName); ?></h2>
</div>
@@ -146,7 +146,9 @@ if ($categoryId && isset($allCategories[$categoryId])) {
<span class="channel-name"><?php echo htmlspecialchars($video['channel']); ?></span>
</div>
<div class="video-metadata">
<?php if (defined('SHOW_VIDEO_VIEWS') && SHOW_VIDEO_VIEWS): ?>
<span class="video-views"><i class="fas fa-eye"></i> <?php echo formatViewCount($video['views']); ?> vues</span>
<?php endif; ?>
<span class="video-date"><i class="far fa-calendar-alt"></i> <?php echo formatDate($video['date']); ?></span>
</div>
</div>