You are here

bibcite-citation.html.twig in Bibliography & Citation 2.0.x

Same filename and directory in other branches
  1. 8 templates/bibcite-citation.html.twig

bibcite-citation.html.twig Default theme implementation to present bibliographic data as citation.

Available variables:

  • content: A list of content items. Use 'content' to print all content, or
  • attributes: HTML attributes for the container element.

See also

template_preprocess_bibcite_citation()

File

templates/bibcite-citation.html.twig
View source
  1. {#
  2. /**
  3. * @file bibcite-citation.html.twig
  4. * Default theme implementation to present bibliographic data as citation.
  5. *
  6. * Available variables:
  7. * - content: A list of content items. Use 'content' to print all content, or
  8. * - attributes: HTML attributes for the container element.
  9. *
  10. * @see template_preprocess_bibcite_citation()
  11. *
  12. * @ingroup themeable
  13. */
  14. #}
  15. <div{{ attributes.addClass('bibcite-citation') }}>
  16. {% if content %}
  17. {{ content }}
  18. {% endif %}
  19. </div>