Mercurial > hg > cmmr2012-drupal-site
view core/themes/classy/templates/misc/rdf-metadata.html.twig @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | c75dbcec494b |
children |
line wrap: on
line source
{# /** * @file * Theme override for empty spans with RDF attributes. * * The XHTML+RDFa doctype allows either <span></span> or <span /> syntax to * be used, but for maximum browser compatibility, W3C recommends the * former when serving pages using the text/html media type, see * http://www.w3.org/TR/xhtml1/#C_3. * * Available variables: * - metadata: Each item within corresponds to its own set of attributes, * and therefore, needs its own 'attributes' element. * * @see template_preprocess_rdf_metadata() */ #} {% for attributes in metadata %} <span{{ attributes.addClass('rdf-meta', 'hidden') }}></span> {% endfor %}