Add rel=author Nostr links to article pages
This commit is contained in:
parent
038ce15908
commit
e3bd385c96
1
html.ts
1
html.ts
@ -231,6 +231,7 @@ function articleMetaHtml(article: Article, profile: Profile) {
|
||||
return `
|
||||
<link rel="icon" href="${profile.avatarImageUrl}" type="image/png">
|
||||
<link rel="alternate" type="application/nostr+json" href="nostr:${article.naddr}" title="This article on Nostr">
|
||||
<link rel="author" type="application/nostr+json" href="nostr:${profile.npub}" title="${profile.name}">
|
||||
<meta property="og:url" content="${article.url}">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:title" content="${article.title}">
|
||||
|
Loading…
x
Reference in New Issue
Block a user