From 3274289950228e3888178c2f06d283cbf13daf88 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Sun, 15 Jul 2018 21:33:59 +0200 Subject: [PATCH] Fix the permalink --- templates/utils.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/utils.html b/templates/utils.html index ffb4c11..f78cada 100644 --- a/templates/utils.html +++ b/templates/utils.html @@ -61,8 +61,10 @@
{% if perma %}{{ obj.published | format_time }} +{% if not (obj.id | is_from_outbox) %} +permalink {% endif %} -{% if not obj.id | is_from_outbox %} +{% else %} permalink {% endif %}