Files
pathfinder/public/templates/ui/jsonld.html
Exodus4D b071979b0d - closed #173 (Thera wormhole types)
- added "JSON-LD" notation for structured page data
2016-06-04 16:47:43 +02:00

29 lines
936 B
HTML

{* Json-LD structured data *}
<check if="{{ @PATHFINDER.CONTACT }}">
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Organization",
"name": "{{ @PATHFINDER.NAME }}",
"legalName": "Pathfinder - OpenSource",
"url": "{{ Controller\Controller::getEnvironmentData('URL') }}",
"logo": "{{@SCHEME.'://'.@HOST.@FAVICON}}/favicon-192x192.png",
"foundingDate": "2014",
"founders": [{
"@type": "Person",
"name": "Exodus4D"
}],
<check if="{{ @PATHFINDER.EMAIL }}">
"email": "{{ @PATHFINDER.EMAIL }}",
</check>
"sameAs": [
"https://www.youtube.com/c/Pathfinder-wSpace",
"https://plus.google.com/110257318165279088853",
"https://imgur.com/a/k2aVa",
<check if="{{ @PATHFINDER.REPO }}">
"{{ @PATHFINDER.REPO }}"
</check>
]
}
</script>
</check>