5
Ich frage mich, ob es möglich ist, etwas Javascript in einem ld + json Skript auszuführen. Zum Beispiel "window.location.hostname"Javascript in LD JSON
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
"url": "http://" + window.location.hostname
}
</script>
liebe @diongley du hast meine zeit gerettet, –