activity_stream-1.0.x-dev/templates/activity-stream-activity.html.twig
templates/activity-stream-activity.html.twig
{#
/**
* @file
* Default theme implementation to present an activity entity.
*
* This template is used when viewing a canonical activity page,
*
* Available variables:
* - content: A list of content items. Use 'content' to print all content, or
* print a subset such as 'content.label'.
* - attributes: HTML attributes for the container element.
*
* @see template_preprocess_activity_stream_activity()
*/
#}
<article{{ attributes }}>
{% if view_mode != 'full' %}
{{ title_prefix }}
{{ title_suffix }}
{% endif %}
{% if content %}
{{- content -}}
{% endif %}
</article>
