{% load activity_tags %} {% if event.type == "followed" %}
{% include "activities/_identity.html" with identity=event.subject_identity created=event.created %} {% elif event.type == "liked" %} {% include "activities/_post.html" with post=event.subject_post %} {% elif event.type == "mentioned" %} {% include "activities/_post.html" with post=event.subject_post %} {% elif event.type == "boosted" %} {% include "activities/_post.html" with post=event.subject_post %} {% else %} Unknown event type {{event.type}} {% endif %}