summaryrefslogtreecommitdiffstats
path: root/templates/activities/_mini_post.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/activities/_mini_post.html')
-rw-r--r--templates/activities/_mini_post.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/activities/_mini_post.html b/templates/activities/_mini_post.html
new file mode 100644
index 0000000..80ed213
--- /dev/null
+++ b/templates/activities/_mini_post.html
@@ -0,0 +1,16 @@
+{% load static %}
+{% load activity_tags %}
+<div class="post mini" data-takahe-id="{{ post.id }}">
+
+ <a href="{{ post.author.urls.view }}">
+ <img src="{{ post.author.local_icon_url }}" class="icon">
+ </a>
+
+ <a href="{{ post.author.urls.view }}" class="handle">
+ {{ post.author.name_or_handle }}
+ </a>
+
+ <div class="content">
+ {{ post.safe_content_local }}
+ </div>
+</div>