base.html 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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 Bootstrap">
  13. <meta name="author" content="Dave Gandy">
  14. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  15. <!--<meta name="viewport" content="initial-scale=1; maximum-scale=1">-->
  16. <!--[if lt IE 9]>
  17. <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
  18. <![endif]-->
  19. <!-- CSS
  20. ================================================== -->
  21. <link rel="stylesheet" href="{{ page.relative_path }}assets/css/site.css">
  22. <link rel="stylesheet" href="{{ page.relative_path }}assets/css/pygments.css">
  23. <link rel="stylesheet" href="{{ page.relative_path }}assets/font-awesome/css/font-awesome.css">
  24. <!--[if IE 7]>
  25. <link rel="stylesheet" href="{{ page.relative_path }}assets/font-awesome/css/font-awesome-ie7.css">
  26. <![endif]-->
  27. <!-- Le fav and touch icons -->
  28. <link rel="shortcut icon" href="{{ page.relative_path }}assets/ico/favicon.ico">
  29. <script type="text/javascript" src="//use.typekit.net/wnc7ioh.js"></script>
  30. <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
  31. <script type="text/javascript">
  32. var _gaq = _gaq || [];
  33. _gaq.push(['_setAccount', 'UA-30136587-1']);
  34. _gaq.push(['_trackPageview']);
  35. (function() {
  36. var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  37. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  38. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  39. })();
  40. </script>
  41. </head>
  42. <body data-spy="scroll" data-target=".navbar">
  43. <div class="wrapper"> <!-- necessary for sticky footer. wrap all content except footer -->
  44. {% include navbar.html %}
  45. {{ content }}
  46. <div class="push"><!-- necessary for sticky footer --></div>
  47. </div>
  48. {% include footer.html %}
  49. <script src="http://platform.twitter.com/widgets.js"></script>
  50. <script src="{{ page.relative_path }}assets/js/jquery-1.7.1.min.js"></script>
  51. <script src="{{ page.relative_path }}assets/js/ZeroClipboard-1.1.7.min.js"></script>
  52. <script src="{{ page.relative_path }}assets/js/bootstrap-2.3.1.min.js"></script>
  53. <script src="{{ page.relative_path }}assets/js/site.js"></script>
  54. </body>
  55. </html>