summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-12 21:14:21 -0700
committerAndrew Godwin2022-11-12 21:14:21 -0700
commit878f56b411279cd9865a7ec05f1d14c9f70f6187 (patch)
tree93f3c65e109a014041e4380a854bdf8b4dd7fe6d /templates
parentdd4328ae523bb375dd871e85d1bacd9311e87a89 (diff)
downloadtakahe-878f56b411279cd9865a7ec05f1d14c9f70f6187.tar.gz
takahe-878f56b411279cd9865a7ec05f1d14c9f70f6187.tar.bz2
takahe-878f56b411279cd9865a7ec05f1d14c9f70f6187.zip
Post URIs and host-meta
Diffstat (limited to 'templates')
-rw-r--r--templates/activities/_post.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/activities/_post.html b/templates/activities/_post.html
index 2ac57f3..eef09db 100644
--- a/templates/activities/_post.html
+++ b/templates/activities/_post.html
@@ -13,7 +13,13 @@
</a>
</h3>
<time>
- <a href="{{ post.urls.view }}">{{ post.created | timesince }} ago</a>
+ <a href="{{ post.urls.view }}">
+ {% if post.authored %}
+ {{ post.authored | timesince }} ago
+ {% else %}
+ {{ post.created | timesince }} ago
+ {% endif %}
+ </a>
</time>
<div class="content">
{{ post.safe_content }}