This commit is contained in:
andre committed 2026-06-12 21:20:23 +01:00
1 parent e68d357177
commit 3e3382df57
65 files changed
+1836 -42

No files matched your search

+7
View File
@@ -45,3 +45,10 @@ if ($ld_hours) $ld['openingHoursSpecification'] = $ld_hours;
<script type="application/ld+json">
<?= json_encode($ld, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT) ?>
</script>
<?php /* A dynamic page (e.g. an event landing page) can attach its own JSON-LD
— such as an Event schema — via this global, set before _open.php runs. */ ?>
<?php if (!empty($GLOBALS['_jsonld_extra'])): ?>
<script type="application/ld+json">
<?= json_encode($GLOBALS['_jsonld_extra'], JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT) ?>
</script>
<?php endif; ?>