diff options
author | Andrew Godwin | 2022-11-12 21:14:21 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-11-12 21:14:21 -0700 |
commit | 878f56b411279cd9865a7ec05f1d14c9f70f6187 (patch) | |
tree | 93f3c65e109a014041e4380a854bdf8b4dd7fe6d /templates | |
parent | dd4328ae523bb375dd871e85d1bacd9311e87a89 (diff) | |
download | takahe-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.html | 8 |
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 }} |