feat: profile_url auteur → article:author URL + JSON-LD author.url

This commit is contained in:
Cedric Abonnel
2026-05-12 23:45:41 +02:00
parent a031ea960e
commit e1c179b536
6 changed files with 53 additions and 16 deletions
+3 -1
View File
@@ -28,7 +28,9 @@
<?php if (!empty($articlePublishedAt ?? '')): ?>
<meta property="article:published_time" content="<?= htmlspecialchars(date('c', strtotime((string)$articlePublishedAt))) ?>">
<?php endif; ?>
<?php if (!empty($metaAuthor ?? '')): ?>
<?php if (!empty($metaAuthorUrl ?? '')): ?>
<meta property="article:author" content="<?= htmlspecialchars($metaAuthorUrl) ?>">
<?php elseif (!empty($metaAuthor ?? '')): ?>
<meta property="article:author" content="<?= htmlspecialchars($metaAuthor) ?>">
<?php endif; ?>