Fix linking to things without URL attrs

This commit is contained in:
Andrew Godwin 2023-03-05 11:40:50 -07:00
parent afc94f6313
commit 05992d6553

View file

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