70 lines
3.4 KiB
PHP
70 lines
3.4 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title><?php echo htmlspecialchars($seo_title ?? 'Luxury Carpet B2B'); ?></title>
|
|
<meta name="description" content="<?php echo htmlspecialchars($seo_meta_description ?? 'High-end carpets for B2B clients.'); ?>">
|
|
|
|
<!-- SEO Meta Tags -->
|
|
<?php if (!empty($canonical_url)): ?>
|
|
<link rel="canonical" href="<?php echo htmlspecialchars($canonical_url); ?>" />
|
|
<?php endif; ?>
|
|
<?php if (!empty($no_index)): ?>
|
|
<meta name="robots" content="noindex, nofollow">
|
|
<?php endif; ?>
|
|
|
|
<!-- Open Graph / Facebook -->
|
|
<meta property="og:type" content="<?php echo htmlspecialchars($og_type ?? 'website'); ?>">
|
|
<meta property="og:title" content="<?php echo htmlspecialchars($og_title ?? $seo_title ?? 'Luxury Carpet B2B'); ?>">
|
|
<meta property="og:description" content="<?php echo htmlspecialchars($og_description ?? $seo_meta_description ?? 'High-end carpets for B2B clients.'); ?>">
|
|
<meta property="og:image" content="<?php echo htmlspecialchars($og_image ?? $_SERVER['PROJECT_IMAGE_URL'] ?? ''); ?>">
|
|
<?php if (!empty($canonical_url)): ?>
|
|
<meta property="og:url" content="<?php echo htmlspecialchars($canonical_url); ?>">
|
|
<?php endif; ?>
|
|
|
|
<!-- Twitter -->
|
|
<meta name="twitter:card" content="summary_large_image">
|
|
<meta name="twitter:title" content="<?php echo htmlspecialchars($og_title ?? $seo_title ?? 'Luxury Carpet B2B'); ?>">
|
|
<meta name="twitter:description" content="<?php echo htmlspecialchars($og_description ?? $seo_meta_description ?? 'High-end carpets for B2B clients.'); ?>">
|
|
<meta name="twitter:image" content="<?php echo htmlspecialchars($og_image ?? $_SERVER['PROJECT_IMAGE_URL'] ?? ''); ?>">
|
|
|
|
<!-- Bootstrap CSS -->
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
|
|
<!-- Custom CSS -->
|
|
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
|
|
|
|
<!-- JSON-LD Schema -->
|
|
<?php if (!empty($schema)): ?>
|
|
<script type="application/ld+json">
|
|
<?php echo json_encode($schema, JSON_UNESCAPED_SLASHES | JSON_PRETTY_PRINT); ?>
|
|
</script>
|
|
<?php endif; ?>
|
|
</head>
|
|
<body class="bg-light">
|
|
|
|
<nav class="navbar navbar-expand-lg navbar-light bg-white shadow-sm">
|
|
<div class="container">
|
|
<a class="navbar-brand" href="index.php" style="font-family: Georgia, serif; font-weight: bold;">Luxury Carpets</a>
|
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
|
<span class="navbar-toggler-icon"></span>
|
|
</button>
|
|
<div class="collapse navbar-collapse" id="navbarNav">
|
|
<ul class="navbar-nav ms-auto">
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="index.php">Home</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="products.php">Products</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="blog.php">Blog</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="contact.php">Contact</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|