feat(gyms): per-gym brand colour; CrossFit pill follows it
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
716eec9f6d
commit
4b2823d1e5
6 files changed
+47
-14
No files matched your search
@@ -39,7 +39,7 @@ $canonical = $GLOBALS['_canonical_override'] ?? match ($page) {
|
||||
<meta name="description" content="<?= htmlspecialchars($page_desc) ?>">
|
||||
<meta name="keywords" content="fitness, ginásio, exercício, personal trainer, crossfit, box, aveiro, mira">
|
||||
<meta name="author" content="FitMe 3070">
|
||||
<meta name="theme-color" content="#C2D500">
|
||||
<meta name="theme-color" content="<?= htmlspecialchars(($gym_meta['brand_color'] ?? '') !== '' ? $gym_meta['brand_color'] : '#C2D500') ?>">
|
||||
<title><?= htmlspecialchars($page_title) ?></title>
|
||||
<link rel="canonical" href="<?= htmlspecialchars($canonical) ?>">
|
||||
<?php if (seo_noindex()): /* staging copies (e.g. fitme.andmore.pt) must not compete with the real domain */ ?>
|
||||
@@ -85,6 +85,7 @@ $canonical = $GLOBALS['_canonical_override'] ?? match ($page) {
|
||||
|
||||
<!-- Structured data -->
|
||||
<?= view('seo') ?>
|
||||
<?php if (($brand_css = gym_brand_css($gym_meta)) !== ''): ?><style><?= $brand_css ?></style><?php endif; ?>
|
||||
<?php include dirname(__DIR__, 2) . '/includes/env_ribbon.php'; // moldura de aviso fora de produção ?>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in new issue
Block a user