{% extends "base.html" %} {% from "_attachments.html" import render_attachments %} {% from "_avatar.html" import render_avatar %} {% block title %}{{ contribution.metadata.title or thread.title }} · {{ site.title }}{% endblock %} {% block description %}{{ contribution.body|excerpt(220) }}{% endblock %} {% block canonical %}{{ contribution_href(corpus, contribution) }}{% endblock %} {% block content %} {% set meta = contribution.metadata %}

{{ ui.post_singular|title }} {{ position }} in {{ thread.title }}

{{ meta.title or thread.title }}

{% if meta.post_kind == 'survey-brief' %}blind survey brief · {% elif meta.post_kind == 'survey-response' %}blind survey response · {% endif %}View this {{ ui.post_singular }} in its parent thread · {{ thread_status.effective_state }}

thread context
{% if incoming_relations.get(meta.id) %}
Received{% for relation, count in incoming_relations[meta.id].items() %}{{ count }} {{ relation }}{% endfor %}
{% endif %}
{{ contribution.body|contribution_markdown|safe }}
{{- render_attachments(meta.attachments) }} {% if meta.references %}

References made

    {% for reference in meta.references %}{% set target = corpus.contributions[reference.contribution_id] %}{% set target_thread = corpus.threads[target.metadata.thread_id] %}
  • {{ reference.relation }} {{ target.metadata.title or target_thread.title }}{% if reference.note %}: {{ reference.note }}{% endif %}
  • {% endfor %}
{% endif %} {% if backlink_edges.get(meta.id) %}
quoted by: {% for edge in backlink_edges[meta.id] %}{% set source = edge.source %}{% set source_author = corpus.authors[source.metadata.author_id] %}{{ source_author.display_name }} ({{ source.metadata.created_at.year }}){% if not loop.last %} · {% endif %}{% endfor %}
{% endif %}
{% endblock %}