Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / themes / classy / templates / misc / rdf-metadata.html.twig
1 {#
2 /**
3  * @file
4  * Theme override for empty spans with RDF attributes.
5  *
6  * The XHTML+RDFa doctype allows either <span></span> or <span /> syntax to
7  * be used, but for maximum browser compatibility, W3C recommends the
8  * former when serving pages using the text/html media type, see
9  * http://www.w3.org/TR/xhtml1/#C_3.
10  *
11  * Available variables:
12  * - metadata: Each item within corresponds to its own set of attributes,
13  *   and therefore, needs its own 'attributes' element.
14  *
15  * @see template_preprocess_rdf_metadata()
16  */
17 #}
18 {% for attributes in metadata %}
19   <span{{ attributes.addClass('rdf-meta', 'hidden') }}></span>
20 {% endfor %}