base.html 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <!DOCTYPE html>
  2. <!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
  3. <!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
  4. <!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
  5. <!--[if (gte IE 9)|!(IE)]><!-->
  6. <html lang="en" xmlns="http://www.w3.org/1999/html"> <!--<![endif]-->
  7. <head>
  8. <!-- Basic Page Needs
  9. ================================================== -->
  10. <meta charset="utf-8" />
  11. <title>{% if page.title %}{{ page.title }}{% endif %}</title>
  12. <meta name="description" content="Font Awesome, the iconic font designed for use with Bootstrap">
  13. <meta name="author" content="Dave Gandy">
  14. <!--<meta name="viewport" content="initial-scale=1; maximum-scale=1">-->
  15. <!--[if lt IE 9]>
  16. <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
  17. <![endif]-->
  18. <!-- CSS
  19. ================================================== -->
  20. <link rel="stylesheet" href="{{ page.relative_path }}assets/css/site.css">
  21. <link rel="stylesheet" href="{{ page.relative_path }}assets/css/pygments.css">
  22. <link rel="stylesheet" href="{{ page.relative_path }}assets/font-awesome/css/font-awesome.min.css">
  23. <!--[if IE 7]>
  24. <link rel="stylesheet" href="{{ page.relative_path }}assets/font-awesome/css/font-awesome-ie7.min.css">
  25. <![endif]-->
  26. <!-- Le fav and touch icons -->
  27. <link rel="shortcut icon" href="{{ page.relative_path }}assets/ico/favicon.ico">
  28. <script type="text/javascript" src="//use.typekit.net/wnc7ioh.js"></script>
  29. <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
  30. <script type="text/javascript">
  31. var _gaq = _gaq || [];
  32. _gaq.push(['_setAccount', 'UA-30136587-1']);
  33. _gaq.push(['_trackPageview']);
  34. (function() {
  35. var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  36. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  37. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  38. })();
  39. </script>
  40. </head>
  41. <body data-spy="scroll" data-target=".navbar">
  42. <div class="wrapper"> <!-- necessary for sticky footer. wrap all content except footer -->
  43. {% include navbar.html %}
  44. {{ content }}
  45. <div class="push"><!-- necessary for sticky footer --></div>
  46. </div>
  47. {% include footer.html %}
  48. <script src="http://platform.twitter.com/widgets.js"></script>
  49. <script src="{{ page.relative_path }}assets/js/jquery-1.7.1.min.js"></script>
  50. <script src="{{ page.relative_path }}assets/js/underscore.min.js"></script>
  51. <script src="{{ page.relative_path }}assets/js/backbone.min.js"></script>
  52. <!--<script src="{{ page.relative_path }}assets/js/prettify.min.js"></script>-->
  53. <script src="{{ page.relative_path }}assets/js/bootstrap-2.3.1.min.js"></script>
  54. <script src="{{ page.relative_path }}assets/js/site.js"></script>
  55. </body>
  56. </html>