refactor: Improve formatting and include local business schema in meta.php

This commit is contained in:
Mark 2025-10-02 13:28:23 +01:00
parent 402cb9675c
commit 6de0c566dd

View File

@ -1,9 +1,9 @@
<!-- Advanced LocalBusiness Schema --> <!-- Advanced LocalBusiness Schema -->
<script type="application/ld+json"> <script type="application/ld+json">
<?php <?php
include_once $URLcorrection . "meta/local-business-schema.php"; include_once $URLcorrection . "meta/local-business-schema.php";
echo json_encode(getLocalBusinessSchema(), JSON_UNESCAPED_SLASHES|JSON_UNESCAPED_UNICODE|JSON_PRETTY_PRINT); echo json_encode(getLocalBusinessSchema(), JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT);
?> ?>
</script> </script>
<?php <?php