mirror of https://git.sr.ht/~tsileo/microblog.pub
19 lines
481 B
HTML
19 lines
481 B
HTML
{%- import "utils.html" as utils with context -%}
|
|
{% extends "layout.html" %}
|
|
|
|
{% block head %}
|
|
<title>{{ local_actor.display_name }} - Stream</title>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
{% for inbox_object in stream %}
|
|
{% if inbox_object.ap_type == "Announce" %}
|
|
{{ utils.display_object(inbox_object.relates_to_anybox_object) }}
|
|
{% elif inbox_object.ap_type in ["Article", "Note", "Video"] %}
|
|
{{ utils.display_object(inbox_object) }}
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
{% endblock %}
|