fix type so previews work again.

This commit is contained in:
fiatjaf
2023-05-27 21:31:50 -03:00
parent b6cab72b50
commit cfbf39e9f1

View File

@@ -18,7 +18,7 @@
<meta property="twitter:card" content="summary" />
{{end}}
<!----------->
{{ if eq .type "event" }}
{{ if eq .type "note" }}
<title>Nostr Event {{.nevent}}</title>
<meta property="og:site_name" content="{{.authorLong | SanitizeString}}" />
<meta property="og:title" content="{{.title | SanitizeString}}" />