diff options
Diffstat (limited to '')
| -rw-r--r-- | webmentions_ssg/templates/sent_source.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/webmentions_ssg/templates/sent_source.html b/webmentions_ssg/templates/sent_source.html index e840f8f..8d22068 100644 --- a/webmentions_ssg/templates/sent_source.html +++ b/webmentions_ssg/templates/sent_source.html @@ -154,7 +154,11 @@ SPDX-License-Identifier: BSD-3-Clause {% if webmention.status_url is not none %} <div> <strong>Status:</strong> - <a href="{{ webmention.status_url }}" class="text-break">{{ webmention.status_url }}</a> + {% if webmention.status_url | is_http_url %} + <a href="{{ webmention.status_url }}" class="text-break">{{ webmention.status_url }}</a> + {% else %} + <span class="text-break">{{ webmention.status_url }}</span> + {% endif %} </div> {% endif %} </td> |
