aboutsummaryrefslogtreecommitdiff
path: root/themes/alps/mailbox.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/alps/mailbox.html')
-rw-r--r--themes/alps/mailbox.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/alps/mailbox.html b/themes/alps/mailbox.html
index 93a45ce..0c70385 100644
--- a/themes/alps/mailbox.html
+++ b/themes/alps/mailbox.html
@@ -47,7 +47,7 @@
{{ end }}
</div>
<div class="message-list-subject message-list-item {{ if not (.HasFlag "\\Seen") }}message-list-unread{{ end }}">
- <a href="{{.TextPart.URL false}}">
+ <a href="{{if .TextPart}}{{.TextPart.URL false}}{{else}}{{.URL}}{{end}}">
{{if .Envelope.Subject}}
{{.Envelope.Subject}}
{{else}}