mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 21:24:28 +00:00
Fix the permalink
This commit is contained in:
parent
5323995633
commit
3274289950
1 changed files with 3 additions and 1 deletions
|
@ -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 %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue