{{ escape(actor["name"]) }} {% if post["message"] %} {{ escape(post["message"]) }} {% end %} {% if post["attachment"] %}
{% if post["attachment"].get("name") %} {% end %} {% if post["attachment"].get("description") %}
{{ post["attachment"]["description"] }}
{% end %} {% for media in filter(lambda m: m.get("src") and m["type"] in ("photo", "link"), post["attachment"]["media"]) %} {{ escape(media.get( {% end %}
{% end %}