use .display_name on "fulano on Nostr:" headings when .name is not available.

This commit is contained in:
fiatjaf
2023-11-15 10:10:17 -03:00
parent 929307f3ba
commit f499ccde8a
6 changed files with 9 additions and 9 deletions

View File

@@ -62,7 +62,7 @@
<h1 class="text-2xl">{{.Subject}}</h1>
{{ else }}
<h1 class="hidden">
{{.Metadata.Name}} on Nostr: {{.TitleizedContent}}
{{.Metadata.ShortName}} on Nostr: {{.TitleizedContent}}
</h1>
{{ end }}
<!-- main content -->