You are here

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

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

bibcite_keyword.html.twig Default theme implementation to present Keyword data.

Available variables:

  • content: A list of content items. Use 'content' to print all content, or
  • attributes: HTML attributes for the container element.
  • bibcite_keyword: The keyword object.
  • view_mode: View mode.

File

modules/bibcite_entity/templates/bibcite-keyword.html.twig
View source
  1. {#
  2. /**
  3. * @file bibcite_keyword.html.twig
  4. * Default theme implementation to present Keyword data.
  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. * - bibcite_keyword: The keyword object.
  10. * - view_mode: View mode.
  11. *
  12. * @see template_preprocess_bibcite_keyword()
  13. *
  14. * @ingroup themeable
  15. */
  16. #}
  17. <div{{ attributes }}>
  18. {% if content %}
  19. {{- content -}}
  20. {% endif %}
  21. </div>