You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@taverna.apache.org by st...@apache.org on 2014/12/10 18:10:28 UTC
svn commit: r1644484 - /incubator/taverna/site/trunk/templates/skeleton.html
Author: stain
Date: Wed Dec 10 17:10:28 2014
New Revision: 1644484
URL: http://svn.apache.org/r1644484
Log:
CMS commit to taverna by stain
Modified:
incubator/taverna/site/trunk/templates/skeleton.html
Modified: incubator/taverna/site/trunk/templates/skeleton.html
URL: http://svn.apache.org/viewvc/incubator/taverna/site/trunk/templates/skeleton.html?rev=1644484&r1=1644483&r2=1644484&view=diff
==============================================================================
--- incubator/taverna/site/trunk/templates/skeleton.html (original)
+++ incubator/taverna/site/trunk/templates/skeleton.html Wed Dec 10 17:10:28 2014
@@ -25,13 +25,34 @@
{% if headers.base %}<base href="{{ headers.base }}" />{% endif %}
{% if headers.notice %}<!-- {{ headers.notice }} -->{% endif %}
-
+
+ <!-- JSON-LD markup for Google Structured Data -->
{% if headers.jsonld %}
- <!-- JSON-LD markup for Google Structured Data -->
+ <!-- custom JSON-LD for this page -->
<script type="application/ld+json">
{{ headers.jsonld|safe}}
</script>
{% endif %}
+ <!-- generic JSON-LD for this page -->
+ <script type="application/ld+json">
+ {
+ "@context" : "http://schema.org",
+ "@type" : ["CreativeWork"],
+ "@id": "",
+ "name" : "{{ headers.title|safe }}",
+ "publisher" : {
+ "@type" : "Organization",
+ "url" : "http://www.apache.org/",
+ "name" : "The Apache Software Foundation (ASF)"
+ },
+ "license": {
+ "@type": "CreativeWork",
+ "@id": "http://www.apache.org/licenses/LICENSE-2.0",
+ "url": "http://www.apache.org/licenses/LICENSE-2.0",
+ "name": "Apache License, Version 2.0"
+ }
+ }
+</script>
</head>