Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save DennisKraaijeveld/1767e4d26e6e93657ee4e36653963d04 to your computer and use it in GitHub Desktop.
Save DennisKraaijeveld/1767e4d26e6e93657ee4e36653963d04 to your computer and use it in GitHub Desktop.
## Regular Webpage Metatags
<title>Your Page Title Here</title>
<meta name="description" content="Your description of the page goes here.">
<link rel="canonical" href="https://www.yourwebsite.com/page-url" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="index, follow">
## Facebook and Linkedin both use OG
<meta property="og:title" content="Your Page Title Here" />
<meta property="og:description" content="Your description of the page goes here." />
<meta property="og:url" content="https://www.yourwebsite.com/page-url" />
<meta property="og:type" content="website" />
<meta property="og:image" content="https://www.yourwebsite.com/path/to/your/image.jpg" />
## Twitter using own tags
<meta name="twitter:card" content="summary_large_image"> // Or summary. There are not a lot of variants and in 99.999% of the time using summary is best.
<meta name="twitter:title" content="Your Page Title Here">
<meta name="twitter:description" content="Your description of the page goes here.">
<meta name="twitter:image" content="https://www.yourwebsite.com/path/to/your/image.jpg">
## Structured Data Google for Jobs
{
"@context": "http://schema.org",
"@type": "JobPosting",
"title": "Software Engineer",
"description": "<p>This is the detailed job description.</p>",
"identifier": {
"@type": "PropertyValue",
"name": "Company Name",
"value": "Job ID"
},
"datePosted": "2023-04-04",
"validThrough": "2023-06-04",
"employmentType": "FULL_TIME",
"hiringOrganization": {
"@type": "Organization",
"name": "Company Name",
"sameAs": "https://www.company-website.com",
"logo": "https://www.company-website.com/logo.png"
},
"jobLocation": {
"@type": "Place",
"address": {
"@type": "PostalAddress",
"streetAddress": "Street Address",
"addressLocality": "City",
"addressRegion": "State",
"postalCode": "ZIP Code",
"addressCountry": "Country"
}
},
"baseSalary": {
"@type": "MonetaryAmount",
"currency": "USD",
"value": {
"@type": "QuantitativeValue",
"value": 90000,
"unitText": "YEAR"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment