Skip to content

Commit

Permalink
Add or update OpenGraph for HTML heads
Browse files Browse the repository at this point in the history
  • Loading branch information
myl7 committed Aug 23, 2023
1 parent 297c9dd commit 6665476
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions app/brotli/head.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ export default function Head() {
<meta name="description" content={meta.abstract} />
<link rel="canonical" href="https://myl.moe/brotli" />
<GHead />
<meta property="og:type" content="website" />
<meta property="og:title" content={meta.title} />
<meta property="og:description" content={meta.abstract} />
<meta property="og:url" content="https://myl.moe/brotli" />
<meta property="og:site_name" content="mylmoe" />
</>
)
}
1 change: 0 additions & 1 deletion app/head.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export default function Head() {
{/* TODO: Better default og image */}
<meta property="og:image" content="https://myl.moe/icon-512.png" />
<meta property="og:description" content={description} />
<meta property="og:locale" content="en_US" />
<meta property="og:site_name" content="mylmoe" />
<GHead />
</>
Expand Down
5 changes: 5 additions & 0 deletions app/nmconn/head.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ export default function Head() {
<meta name="description" content={meta.abstract} />
<link rel="canonical" href="https://myl.moe/nmconn" />
<GHead />
<meta property="og:type" content="website" />
<meta property="og:title" content={meta.title} />
<meta property="og:description" content={meta.abstract} />
<meta property="og:url" content={'https://myl.moe/nmconn'} />
<meta property="og:site_name" content="mylmoe" />
</>
)
}

1 comment on commit 6665476

@vercel
Copy link

@vercel vercel bot commented on 6665476 Aug 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

mylmoe – ./

mylmoe.vercel.app
mylmoe-myl7.vercel.app
myl.moe
www.myl.moe
mylmoe-git-main-myl7.vercel.app

Please sign in to comment.