Skip to content

Instantly share code, notes, and snippets.

@adamduncan
Created September 14, 2017 13:26
Show Gist options
  • Save adamduncan/86e779ec8aadf29488ba36a71f59547e to your computer and use it in GitHub Desktop.
Save adamduncan/86e779ec8aadf29488ba36a71f59547e to your computer and use it in GitHub Desktop.
Atom HTML snippet
'.text.html':
'HTML5 Starter':
'prefix': 'html'
'body': '
<!DOCTYPE html>\n
<html class="no-js" lang="en">\n
\t<head prefix="og: http://ogp.me/ns">\n
\t\t<meta charset="utf-8">\n
\t\t<meta http-equiv="X-UA-Compatible" content="IE=edge">\n
\t\t<meta name="viewport" content="width=device-width, initial-scale=1.0" />\n\n
\t\t<title></title>\n\n
\t\t<meta name="description" content="" />\n
\t\t<meta property="og:title" content="Open graph title">\n
\t\t<meta property="og:description" content="Open graph content">\n
\t\t<meta property="og:image" content="/icon-touch.png">\n\n
\t\t<meta name="twitter:card" content="summary">\n
\t\t<meta name="twitter:site" content="twitterhandle">\n
\t\t<meta name="twitter:title" content="Twitter title">\n
\t\t<meta name="twitter:description" content="Twitter content">\n
\t\t<meta name="twitter:image" content="/icon-touch.png">\n\n
\t\t<script>\n
\t\t\tdocument.documentElement.className = document.documentElement.className.replace(/\bno-js\b/g, \'\') + \' js \';\n
\t\t</script>\n\n
\t\t<link rel="shortcut icon" href="/icon-touch.png">\n
\t\t<link rel="apple-touch-icon-precomposed" href="/icon-touch.png">\n\n
\t</head>\n
\t<body>\n
\t</body>\n
</html>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment