Mercurial > hg > isophonics-drupal-site
view core/modules/rdf/templates/rdf-metadata.html.twig @ 12:7a779792577d
Update Drupal core to v8.4.5 (via Composer)
author | Chris Cannam |
---|---|
date | Fri, 23 Feb 2018 15:52:07 +0000 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line source
{# /** * @file * Default theme implementation 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() * * @ingroup themeable */ #} {% for attributes in metadata %} <span{{ attributes.addClass('hidden') }}></span> {% endfor %}