Skip to content

Instantly share code, notes, and snippets.

@doomsbuster
Created November 24, 2013 17:09
Show Gist options
  • Save doomsbuster/7629568 to your computer and use it in GitHub Desktop.
Save doomsbuster/7629568 to your computer and use it in GitHub Desktop.
index.html for the usemin target
Processing as HTML - dist/index.html
Update the HTML to reference our concat/min/revved script files
<script src="scripts/modules.js" changed to <script src="scripts/401338d2.modules.js"
<script src="scripts/scripts.js" changed to <script src="scripts/23fa2277.scripts.js"
Update the HTML with the new css filenames
<link rel="stylesheet" href="styles/main.css" changed to <link rel="stylesheet" href="styles/f7f78e67.main.css"
Update the HTML with the new img filenames
Update the HTML with data-main tags
Update the HTML with data-* tags
Update the HTML with background imgs, case there is some inline style
Update the HTML with anchors images
Update the HTML with reference in input
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="fragment" content="!" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>ashishdesai.com - Experience the power of technology!</title>
<meta property="description" content="Ashish is web designer, frontend developer and is fascinated by programming &amp; technology. He is a Senior Application Architect and a HTML5/CSS3/Javascript evangelist at J.P. Morgan Chase. He represents the HTML5 Working Group at J.P.Morgan Chase and conducts extensive technical training on various web and frontend technologies. Ashish is an advocate of the open web and is an active contributor to various open source groups and platforms. He loves solving complex realworld problems through software &amp; technnology." />
<meta property="description" content="New York is my favorite city, the city of great opportunities. This is where the history of America began &amp; here is where I live. So while the New Freedom Tower is being completed, if you see a shooting star, make a wish!" />
<meta name="Keywords" content="ashish desai,html5,css3,javascript,technology services,creative design,adobe flash,adobe flex,web design,illustrator,animation,cartooning,photography,solutions,paid tech service,flex expert,jpmorgan,chase,html5 evangelist" />
<meta name="Copyright" content="ashishdesai.com, creatively intelligent" />
<meta name="author" content="Ashish Desai" />
<meta name="viewport" content="width=device-width">
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
<style>
.pagebackground
{
background-image: url(./images/laserbeam.jpg);
background-repeat: no-repeat;
background-position: center center;
background-size: 100% 100%;
background-attachment: scroll;
height: 100%;
width: 100%;
overflow:hidden;
}
</style>
<!-- build:css(.tmp) styles/main.css -->
<link rel="stylesheet" href="styles/main.css">
<link rel="stylesheet" href="styles/content.css">
<link rel="stylesheet" href="styles/sitemain.css">
<!-- endbuild -->
</head>
<body ng-app="ashishdesaicomApp">
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<!--[if lt IE 9]>
<script src="bower_components/es5-shim/es5-shim.js"></script>
<script src="bower_components/json3/lib/json3.min.js"></script>
<![endif]-->
<!-- Add your site or application content here -->
<div id="viewport" class="container" ng-view=""></div>
<!-- Google Analytics: change UA-XXXXX-X to be your site's ID -->
<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', '//www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-22015321-1');
ga('send', 'pageview');
</script>
<script src="bower_components/angular/angular.min.js"></script>
<script src="bower_components/jquery/jquery.min.js"></script>
<script src="bower_components/angular-route/angular-route.min.js"></script>
<!-- build:js scripts/modules.js -->
<script src="bower_components/threejs/ThreeCanvas.js"></script>
<script src="bower_components/modernizr/modernizr.js"></script>
<!-- endbuild -->
<!-- build:js({.tmp,app}) scripts/scripts.js -->
<script src="scripts/app.js"></script>
<script src="scripts/layeredsnow.js" type="text/javascript"></script>
<script src="scripts/walkingsanta.js" type="text/javascript"></script>
<script src="scripts/controllers/main.js"></script>
<script src="scripts/directives/oscillator.js"></script>
<script type="text/javascript" src="scripts/site.js"></script>
<!-- endbuild -->
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment