bs_base-8.x-1.x-dev/templates/user/user--compact.html.twig
templates/user/user--compact.html.twig
{#
/**
* @file
* Theme override to present 'compact' view display mode of user data.
*
* Available variables:
* - content: A list of content items. Use 'content' to print all content, or
* print a subset such as 'content.field_example'. Fields attached to a user
* such as 'user_picture' are available as 'content.user_picture'.
* - attributes: HTML attributes for the container element.
* - user: A Drupal User entity.
*
* @see template_preprocess_user()
*
* @ingroup themeable
*/
#}
{% if content -%}
<div{{ attributes }}>
{{- content -}}
</div>
{%- endif %}
