Fix linking to things without URL attrs

pull/530/head
Andrew Godwin 2023-03-05 11:40:50 -07:00
rodzic afc94f6313
commit 05992d6553
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1,5 +1,5 @@
{{ sanitized_content }}
<small class="notice" x-post-type-data="{{ post.type_data|escape }}">
Takahe has limited support for this type: <a href="{{ post.url }}">See Original {{ post.type }}</a>
Takahe has limited support for this type: <a href="{{ post.url|default:post.object_uri }}">See Original {{ post.type }}</a>
</small>