Browse Source

sourcehut theme: fix nil on emails without a text part

P.a. to 50e131244a which solved
https://todo.sr.ht/~emersion/alps/100

Closes: https://todo.sr.ht/~emersion/alps/102
master
наб 3 years ago
committed by Simon Ser
parent
commit
ae9e70b5ad
No known key found for this signature in database GPG Key ID: FDE7BE0E88F5E48
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      themes/sourcehut/mailbox.html

+ 1
- 1
themes/sourcehut/mailbox.html View File

@@ -53,7 +53,7 @@
<li class="nav-item">
<a
class="nav-link"
href="{{.TextPart.URL false}}"
href="{{if .TextPart}}{{.TextPart.URL false}}{{else}}{{.URL}}{{end}}"
>
<span class="text-muted date">
{{ .Envelope.Date | formatdate }}


Loading…
Cancel
Save