Skip to content

Instantly share code, notes, and snippets.

@JamesBliss
Last active June 22, 2020 11:21
Show Gist options
  • Save JamesBliss/8027df1088879b0ce92bb8e02aadf9f9 to your computer and use it in GitHub Desktop.
Save JamesBliss/8027df1088879b0ce92bb8e02aadf9f9 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<title>Your Page Title</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Your name">
<meta name="description" content="Brief description">
<meta property="og:title" content="Your Page Title">
<meta property="og:description" content="Brief description">
<meta property="og:type" content="website" /> <!-- 99/100 times it will be website! -->
<meta property="og:image" content="/some-image.png"> <!-- recommended 1200 X 675 but can be as small as 600 X 335 -->
<meta property="og:url" content="/current-page.html">
<meta property="og:site_name" content="Your Site Name">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image:alt" content="image description">
<link rel="icon" type="image/svg+xml" href="/favicon.svg"><!-- You might want to generate this from somewhere like https://favicon.io/ sinec this is just the bare minimum -->
<link href="style.css" rel="stylesheet"><!-- You will not always want css -->
</head>
<body>
<h1>Your content here!</h1>
<script src="script.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment