templates/index.html in qedproject-0.0.8 vs templates/index.html in qedproject-0.0.9

- old
+ new

@@ -1,15 +1,36 @@ <!DOCTYPE html> <html> <head> + <meta charset="utf-8"> <title>Project</title> + <meta name="description" content=""> + <meta name="author" content=""> + <!--[if lt IE 9]> + <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> <% if @project.jammit -%> <link rel="stylesheet" href="assets/app.css"> <% else -%> - <link rel="stylesheet" href="stylesheets/style.css"> +<% @project.css_assets.each do |css| -%> + <link rel="stylesheet" href="stylesheets/<%=css %>"> <% end -%> - + <link rel="stylesheet" href="stylesheets/app.css"> +<% end -%> + <script type="text/javascript"> + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-XXXXX-X']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + + </script> </head> <body> <h1>My Project</h1> @@ -27,8 +48,9 @@ <script src="assets/app.js"></script> <% else -%> <% @project.js_assets.each do |js| -%> <script src="javascripts/<%=js %>"></script> <% end -%> + <script src="javascripts/app.js"></script> <% end -%> </body> </html> \ No newline at end of file