Fix the permalink

This commit is contained in:
Thomas Sileo 2018-07-15 21:33:59 +02:00
parent 5323995633
commit 3274289950

View file

@ -61,8 +61,10 @@
<div class="bottom-bar"> <div class="bottom-bar">
{% if perma %}<span class="perma-item">{{ obj.published | format_time }}</span> {% if perma %}<span class="perma-item">{{ obj.published | format_time }}</span>
{% if not (obj.id | is_from_outbox) %}
<a class ="bar-item" href="{{ obj.url | get_url }}">permalink</a>
{% endif %} {% endif %}
{% if not obj.id | is_from_outbox %} {% else %}
<a class ="bar-item" href="{{ obj.url | get_url }}">permalink</a> <a class ="bar-item" href="{{ obj.url | get_url }}">permalink</a>
{% endif %} {% endif %}