Oops, still generate a shortlink when the published and updated timestamps match
This commit is contained in:
parent
5fa4066d7a
commit
acb5bc97a9
1 changed files with 1 additions and 1 deletions
|
@ -34,11 +34,11 @@
|
||||||
<i class="fas fa-pencil-alt"></i>
|
<i class="fas fa-pencil-alt"></i>
|
||||||
{{ entry.updated | naturaltime }}
|
{{ entry.updated | naturaltime }}
|
||||||
</time>
|
</time>
|
||||||
|
{% endif %}
|
||||||
{% shortlink entry as short %}<a class="u-url" href="{{ short }}">
|
{% shortlink entry as short %}<a class="u-url" href="{{ short }}">
|
||||||
<i class="fas fa-link"></i>
|
<i class="fas fa-link"></i>
|
||||||
{{ short | friendly_url }}
|
{{ short | friendly_url }}
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if entry.cats.exists %}
|
{% if entry.cats.exists %}
|
||||||
|
|
Loading…
Reference in a new issue