Created
January 31, 2019 14:20
-
-
Save gillyb/ff2115e0ed2b3c6877945110b84351d0 to your computer and use it in GitHub Desktop.
Simple HTML template for one-page sites
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
HELLO WORLD! | |
------------ | |
This is a simple html template for a website with all the meta tags I need included. | |
Make sure you go over all of them, and search for all ':TODO:' strings, and make | |
sure you replace them all with relevant info. | |
--> | |
<!DOCTYPE html> | |
<html lang="en-US"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<!-- SEO --> | |
<title>:TODO: --> This is my page title</title> | |
<meta name="description" content=":TODO:" /> | |
<meta name="author" content="Gilly Barr, @gillybarr" /> | |
<meta name="robots" content="index, follow" /> | |
<meta name="referrer" content="always" /> | |
<meta name="google-site-verification" content=":TODO:" /> | |
<!-- Social --> | |
<meta property="og:title" content=":TODO:" /> | |
<meta property="og:description" content=":TODO:" /> | |
<meta property="og:image" content=":TODO:" /> | |
<meta property="og:url" content=":TODO:" /> | |
<meta name="twitter:title" content=":TODO:" /> | |
<meta name="twitter:description" content=":TODO:" /> | |
<meta name="twitter:image" content=":TODO:" /> | |
<meta name="twitter:card" content=":TODO:" /> | |
<meta name="twitter:site" content=":TODO:" /> | |
<meta name="twitter:creator" content=":TODO:" /> | |
<!-- Favicons --> | |
<link rel="apple-touch-icon" sizes="180x180" href=":TODO:"> | |
<link rel="icon" type="image/png" href=":TODO:" sizes="32x32"> | |
<link rel="icon" type="image/png" href=":TODO:" sizes="16x16"> | |
<!-- Import Fonts --> | |
<link rel="stylesheet" href=":TODO:"> | |
<!-- Responsive stylesheet --> | |
<meta name="viewport" content="width=device-width,initial-scale=1" /> | |
<!-- Pingbacks --> | |
<!-- <link rel="pingback" href=":TODO:" /> --> | |
<!-- :TODO: <link rel='dns-prefetch' href='//ajax.googleapis.com' /> --> | |
<link rel='stylesheet' href=':TODO:' type='text/css' media='all' /> | |
<link rel="canonical" href=":TODO:" /> | |
<link rel="shortlink" href=":TODO:" /> | |
<link rel="alternate" type="application/json+oembed" href=":TODO:" /> | |
<link rel="alternate" type="text/xml+oembed" href=":TODO:" /> | |
<!-- Google Analytics --> | |
<script> | |
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | |
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | |
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | |
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); | |
ga('create', 'UA-XXXXXXXX', 'auto'); // <-- :TODO: Place GA code here! | |
ga('send', 'pageview'); | |
</script> | |
</head> | |
<body> | |
<div id="container"> | |
<!-- TODO: Page content goes here --> | |
</div> | |
<!-- Javascript files go here --> | |
<script type="text/javascript" src=":TODO:"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment