Implementing Schema.org
Schema.org is a collaborative, community activity with a mission to create, maintain, and promote schemas for structured data on the Internet, on web pages, in email messages, and beyond.
See schema.org for more information.
Example article
This is an example of what could be done to implement Schema.org for a basic page.
<main itemscope itemtype="https://schema.org/CreativeWork">
<aside>
<span itemprop="datePublished">{{ output.metaData.datePublished|date("Y-m-d H:i") }}</span>
<a
href="/"
itemprop="author"
itemscope
itemtype="http://schema.org/Person"
><span itemprop="name">{{ source.metaData.author.name }}</span></a>
<span itemprop="name">{{ headline|default(source.baseName) }}</span>
<span itemprop="version">Version {{ source.metaData.numRevisions }}</span>
</aside>
<article itemprop="text">
{{ content }}
</article>
</main>
For more inspiration, see the CreativeWork specification and available template data in the manual.
Available meta data
Headline | Implementing Schema.org |
Author name | Jan-Marten de Boer |
Author email | preacher@johmanx.com |
Commit reference | 2a30d214b1372f2c2234c3125ded47f4b8740c10 |
Short commit reference | 2a30d21 |
Date created | 2017-02-18 19:10 |
Date published | 2017-02-18 19:10 |
Date updated | 2017-02-18 19:19:23 |
Date generated | 2017-03-09 13:57:04 |
Number of revisions | 3 |
BaseName | microdata |
Path to source | recipes/microdata.md |
Path to output | recipes/microdata.html |
Path to template | recipes/microdata.html.twig |