Metadata Block
Notes:
The Metadata
table is handled by the pipeline service to add <meta>
tags in the <head>
of the HTML markup delivered from the service. It does not appear verbatim in the HTML markup. There should only be one Metadata
table per page and while its placement doesn’t matter, by convention it is placed at the bottom of the document.
The metadata table is essentially following an intuitive name/value pair structure where the name is in the first column of the table and the value is in the second column.
There are a few special properties that behave according to the HTML specification and popular additional metadata schemas like og:
and twitter:
. The well known metadata properties include title
, description
, and image
. See special metadata properties for the full list.
There are also special semantics for theme
and template
which get added as classes to the <body>
element by the boilerplate code and are often used for styling and autoblocking.
Beyond that, a project can add an arbitrary number of name value pairs that get added as <meta>
tags to the markup, and can be used with project specific semantics.
Example:
Content Structure:
Code:
The metadata table is processed as part of the HTML rendering service. There is no project code related to the processing.
Previous
Footer
Up Next