Skip to content

Commit

Permalink
trim title
Browse files Browse the repository at this point in the history
  • Loading branch information
jb55 committed Dec 21, 2023
1 parent 36405cf commit 52622c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ fn serve_note_html(
r#"
<html>
<head>
<title>{0}: {1}</title>
<title>{0} on nostr</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8">
Expand All @@ -174,13 +174,13 @@ fn serve_note_html(
<meta property="og:image:width" content="1200" />
<meta property="og:image:type" content="image/png" />
<meta property="og:site_name" content="Damus" />
<meta property="og:title" content="{0}: {1}" />
<meta property="og:title" content="{0} on nostr" />
<meta property="og:url" content="{2}/{3}"/>
<meta name="og:type" content="website"/>
<meta name="twitter:image:src" content="{2}/{3}.png" />
<meta name="twitter:site" content="@damusapp" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="{0}: {1}" />
<meta name="twitter:title" content="{0} on nostr" />
<meta name="twitter:description" content="{1}" />
</head>
Expand Down

0 comments on commit 52622c6

Please sign in to comment.