Oops, still generate a shortlink when the published and updated timestamps match

This commit is contained in:
Danielle McLean 2017-12-11 12:33:04 +11:00
parent 5fa4066d7a
commit acb5bc97a9
Signed by untrusted user: 00dani
GPG key ID: 5A5D2D1AFF12EEC5

View file

@ -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 %}