rdf-metadata.html.twig 668 B

12345678910111213141516171819202122
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation 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. * @ingroup themeable
  18. */
  19. #}
  20. {% for attributes in metadata %}
  21. <span{{ attributes.addClass('hidden') }}></span>
  22. {% endfor %}