summaryrefslogtreecommitdiff
path: root/sw/templates/user_info.json
diff options
context:
space:
mode:
Diffstat (limited to 'sw/templates/user_info.json')
-rw-r--r--sw/templates/user_info.json11
1 files changed, 11 insertions, 0 deletions
diff --git a/sw/templates/user_info.json b/sw/templates/user_info.json
new file mode 100644
index 0000000..a14d6bc
--- /dev/null
+++ b/sw/templates/user_info.json
@@ -0,0 +1,11 @@
+{% extends "base.json" %}
+
+{% block content %}
+"type": "Actor",
+
+"name": "{{ user['username'] }}",
+"id": "{{ url_for('users.get_user_info', username=user['username']) }}",
+
+"inbox": "{{ url_for('users.get_user_inbox', username=user['username']) }}",
+"outbox": "{{ url_for('users.get_user_outbox', username=user['username']) }}",
+{% endblock %}