Skip to content

Instantly share code, notes, and snippets.

@prcaen
Created November 5, 2011 11:02
Show Gist options
  • Save prcaen/1341395 to your computer and use it in GitHub Desktop.
Save prcaen/1341395 to your computer and use it in GitHub Desktop.
HTML5 file kickstart
<!DOCTYPE html>
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="lang"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="lang"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="${1:fr}"> <!--<![endif]-->
<head>
<meta charset="utf-8" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<!-- Geo position -->
<meta name="geo.region" content="" />
<meta name="geo.placename" content="" />
<meta name="geo.position" content="" />
<meta name="ICBM" content="" />
<!-- / Geo position -->
<!-- Open Graph Tags -->
<meta property="og:title" content=""/>
<meta property="og:type" content=""/>
<meta property="og:image" content="" />
<meta property="og:url" content=""/>
<meta property="og:site_name" content=""/>
<meta property="fb:admins" content=""/>
<meta property="og:latitude" content=""/>
<meta property="og:longitude" content=""/>
<meta property="og:locality" content=""/>
<meta property="og:region" content=""/>
<meta property="og:postal-code" content=""/>
<meta property="og:country-name" content=""/>
<meta property="og:email" content=""/>
<!-- / Open Graph Tags -->
<meta name="author" content="Pierrick CAEN" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>${2:page title in 10 to 70 words}</title>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
<link rel="canonical" href="" />
<!-- Stylesheets -->
<link rel="stylesheet" type="text/css" href="css/main-min.css" />
<!-- / Stylesheet -->
<!-- Javascripts -->
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>
<script type="text/javascript" src="js/main.js"></script>
<!-- / Javascript -->
<!-- HTML5 compatibility -->
<!--[if lt IE 9]>
<script type="text/javascript" src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Chrome Frame -->
<meta http-equiv="X-UA-Compatible" content="edge,chrome=1">
<!-- Modernizr -->
<!-- <script type="text/javascript" src="js/modernizr-min.js"></script> -->
<!-- / HTML5 compatibility -->
<!-- Google Analytics -->
<!-- / Google Analytics -->
</head>
<body>
<div id="main">
<header role="banner">
<h1></h1>
<a href="" id="logo" title=""></a>
<nav role="navigation" id="main-menu">
<ul>
<li><a href="index.html" title=""></a> </li>
</ul>
</nav>
</header>
<div id="content">
</div>
<footer>
<!-- Social plugins -->
<div class="addthis_toolbox addthis_default_style">
<a class="addthis_button_facebook_like" fb:like:layout="button_count" fb:like:href="" fb:like:font="verdana" fb:like:colorscheme="light"></a>
<a class="addthis_button_tweet" tw:text="" tw:url="" tw:via="" tw:lang=""></a>
<a class="addthis_button_google_plusone" g:plusone:size="medium" g:plusone:href=""></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4eb506164dbe1caf"></script>
<!-- / Social plugins -->
</footer>
</div><!-- /main -->
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment