Mercurial > hg > isophonics-drupal-site
annotate core/modules/rdf/templates/rdf-metadata.html.twig @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | 4c8ae668cc8c |
children |
rev | line source |
---|---|
Chris@0 | 1 {# |
Chris@0 | 2 /** |
Chris@0 | 3 * @file |
Chris@0 | 4 * Default theme implementation for empty spans with RDF attributes. |
Chris@0 | 5 * |
Chris@0 | 6 * The XHTML+RDFa doctype allows either <span></span> or <span /> syntax to |
Chris@0 | 7 * be used, but for maximum browser compatibility, W3C recommends the |
Chris@0 | 8 * former when serving pages using the text/html media type, see |
Chris@0 | 9 * http://www.w3.org/TR/xhtml1/#C_3. |
Chris@0 | 10 * |
Chris@0 | 11 * Available variables: |
Chris@0 | 12 * - metadata: Each item within corresponds to its own set of attributes, |
Chris@0 | 13 * and therefore, needs its own 'attributes' element. |
Chris@0 | 14 * |
Chris@0 | 15 * @see template_preprocess_rdf_metadata() |
Chris@0 | 16 * |
Chris@0 | 17 * @ingroup themeable |
Chris@0 | 18 */ |
Chris@0 | 19 #} |
Chris@0 | 20 {% for attributes in metadata %} |
Chris@0 | 21 <span{{ attributes.addClass('hidden') }}></span> |
Chris@0 | 22 {% endfor %} |