1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 10:04:35 +02:00

Experimental schema template

This commit is contained in:
Cameron
2022-02-04 12:04:21 -08:00
parent c3d65075d0
commit c17b985441
5 changed files with 114 additions and 5 deletions

View File

@@ -208,6 +208,13 @@ if ($e_headers && is_array($e_headers))
}
unset($e_headers);
/** @experimental - subject to change at any time */
if($schema = e107::schema())
{
echo '<script type="application/ld+json">'.$schema."</script>\n";
}
unset($schema);
echo e107::getSingleton('eResponse')->renderMeta()."\n"; // render all the e107::meta() entries.