Skip to content

Instantly share code, notes, and snippets.

@LasaleFamine
Created November 7, 2017 12:41
Show Gist options
  • Select an option

  • Save LasaleFamine/ae1de30b3b382534b1401137f6e9c374 to your computer and use it in GitHub Desktop.

Select an option

Save LasaleFamine/ae1de30b3b382534b1401137f6e9c374 to your computer and use it in GitHub Desktop.
{
"HTML skeleton following the-frontend-checklist": {
"prefix": "html:meta",
"body": [
"<!doctype html>",
"<html lang=\"$1en\">",
"\t<head>",
"\t\t<title>$2</title>",
"\t\t<meta charset=\"UTF-8\">",
"\t\t<meta http-equiv=\"x-ua-compatible\" content=\"ie=edge\">",
"\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">",
"\t\t<meta name=\"description\" content=\"$4Description of the page less than 150 characters\">",
"\t\t<meta property=\"og:type\" content=\"website\">",
"\t\t<meta property=\"og:url\" content=\"$6https://example.com/page.html\">",
"\t\t<meta property=\"og:title\" content=\"$7Content Title\">",
"\t\t<meta property=\"og:image\" content=\"$8https://example.com/image.jpg\">",
"\t\t<meta property=\"og:description\" content=\"$9Description Here\">",
"\t\t<meta property=\"og:site_name\" content=\"$10Site Name\">",
"\t\t<meta property=\"og:locale\" content=\"$11en_US\">",
"\t\t",
"\t\t<meta name=\"twitter:card\" content=\"summary\">",
"\t\t<meta name=\"twitter:site\" content=\"$12@site_account\">",
"\t\t<meta name=\"twitter:creator\" content=\"$13@individual_account\">",
"\t\t<meta name=\"twitter:url\" content=\"$14https://example.com/page.html\">",
"\t\t<meta name=\"twitter:title\" content=\"$15Content Title\">",
"\t\t<meta name=\"twitter:description\" content=\"$16Content description less than 200 characters\">",
"\t\t<meta name=\"twitter:image\" content=\"$17https://example.com/image.jpg\">",
"\t\t",
"\t\t<link rel=\"icon\" type=\"image/x-icon\" href=\"$18https://example.com/favicon.ico\">",
"\t\t<link rel=\"icon\" type=\"image/png\" href=\"$19https://example.com/favicon.png\">",
"\t\t",
"\t\t<link rel=\"manifest\" href=\"manifest.json\">",
"\t</head>",
"\t<body>",
"\t$20",
"\t</body>",
"</html>"
],
"description": "Prepare HTML skeleton with meta"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment