{% extends "base.html.j2" %} {% import "try-it-macros.html.j2" as try_it %} {% block title %}Backlinks{% endblock %} {% block description %}All {{ query.source }} records with links to {{ query.subject }}{% endblock %} {% block content %} {% call try_it::get_backlinks(query.subject, query.source, query.did, query.limit, query.reverse) %}

Links to {{ query.subject }} {% if let Some(browseable_uri) = query.subject|to_browseable %} browse record {% endif %}

{{ total|human_number }} links from {{ query.source }}.

Links, most recent first:

{% for record in records %}
DID:        {{ record.did().0 }} (DID links)
Collection: {{ record.collection }}
RKey:       {{ record.rkey }}
-> browse record
{% endfor %} {% if let Some(c) = cursor %}
{% for did in query.did %} {% endfor %}
{% else %} {% endif %}
Raw JSON response
{{ self|tojson }}
{% endblock %}