-
Notifications
You must be signed in to change notification settings - Fork 23
feat: og image and meta description #538
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -6,7 +6,11 @@ | |||||||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||||||||
| <link rel="icon" href="https://nodejs.org/static/images/favicons/favicon.png"/> | ||||||||
| <title>{{title}}</title> | ||||||||
| <meta name="description" content="Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts."> | ||||||||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm open to suggestions for a better description
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What did we use on nodeJS.org ?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This one is the same as the one we use on the nodejs.org
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So it's good 👍 |
||||||||
| <link rel="stylesheet" href="styles.css" /> | ||||||||
| <meta property="og:title" content="{{title}}"> | ||||||||
canerakdas marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||
| <meta property="og:description" content="Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts."> | ||||||||
| <meta property="og:image" content="https://nodejs.org/en/next-data/og/announcement/{{ogTitle}}" /> | ||||||||
canerakdas marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||
| <meta property="og:image" content="https://nodejs.org/en/next-data/og/announcement/{{ogTitle}}" /> | |
| <meta property="og:image" content="https://nodejs.org/en/next-data/og/announcement/{{ogTitle}}" /> | |
| <meta property="og:url" content="{{pageUrl}}"> |
Copilot
AI
Dec 26, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider adding an og:type meta tag, which is a required property according to the Open Graph protocol. For documentation pages, the appropriate value would be "website" or "article". Add: <meta property="og:type" content="website">
| <meta property="og:type" content="website"> |
Uh oh!
There was an error while loading. Please reload this page.