Skip to content

Instantly share code, notes, and snippets.

@alivedise
Forked from agarzon/index.html
Created November 17, 2012 02:35
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save alivedise/4092806 to your computer and use it in GitHub Desktop.
Save alivedise/4092806 to your computer and use it in GitHub Desktop.
My Html5 template with Jquery and Bootstrap from CDN
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Project Title</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<link rel="shortcut icon" href="favicon.ico">
<!-- Twitter Bootstrap -->
<link href="http://twitter.github.com/bootstrap/assets/css/bootstrap.css" rel="stylesheet">
<link href="http://twitter.github.com/bootstrap/assets/css/bootstrap-responsive.css" rel="stylesheet">
<!--[if lt IE 9]>
<script src="http://cdnjs.cloudflare.com/ajax/libs/html5shiv/r29/html5.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="common.css" />
</head>
<body>
<header id="header">
<h1>Header</h1>
<nav id="menu_container">
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse"
data-target=".nav-collapse"> <span class="icon-bar"></span> <span
class="icon-bar"></span> <span class="icon-bar"></span> </a> <a
class="brand" href="#">Project Name</a>
<div class="nav-collapse">
<ul class="nav">
<li class="active"><a href="#">Home</a>
</li>
<li><a href="#about">About</a>
</li>
<li><a href="#contact">Contact</a>
</li>
</ul>
</div>
<!--/.nav-collapse -->
</div>
</div>
</div>
</nav>
</header>
<div id="main">
<section id="content">
<b>Home Page Content</b>
</section>
</div>
<footer id="footer">
<b> Footer </b>
</footer>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.0.3/bootstrap.min.js"></script>
</body>
</html>
@dat-boris
Copy link

Cool, was looking for a CDN powered template for a quick test, thx!
though it still have a common.css dependency - can that be fixed? (inlined, cdn?) ta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment