base.html 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. {% if page_description %}<meta name="description" content="{{ page_description }}">{% endif %}
  8. {% if site_author %}<meta name="author" content="{{ site_author }}">{% endif %}
  9. {% if canonical_url %}<link rel="canonical" href="{{ canonical_url }}">{% endif %}
  10. <link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-57x57.png">
  11. <link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114x114.png">
  12. <link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-72x72.png">
  13. <link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144x144.png">
  14. <link rel="apple-touch-icon" sizes="60x60" href="/apple-touch-icon-60x60.png">
  15. <link rel="apple-touch-icon" sizes="120x120" href="/apple-touch-icon-120x120.png">
  16. <link rel="apple-touch-icon" sizes="76x76" href="/apple-touch-icon-76x76.png">
  17. <link rel="apple-touch-icon" sizes="152x152" href="/apple-touch-icon-152x152.png">
  18. <link rel="icon" type="image/png" href="/favicon-196x196.png" sizes="196x196">
  19. <link rel="icon" type="image/png" href="/favicon-160x160.png" sizes="160x160">
  20. <link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96">
  21. <link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16">
  22. <link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32">
  23. <meta name="msapplication-TileColor" content="#2b5797">
  24. <meta name="msapplication-TileImage" content="/mstile-144x144.png">
  25. <title>{{ page_title }}</title>
  26. <link rel="stylesheet" type="text/css" media="screen" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css" />
  27. <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
  28. <link href="{{ base_url }}/css/prettify-1.0.css" rel="stylesheet">
  29. <link href="{{ base_url }}/css/base.css" rel="stylesheet">
  30. {%- for path in extra_css %}
  31. <link href="{{ path }}" rel="stylesheet">
  32. {%- endfor %}
  33. <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
  34. <!--[if lt IE 9]>
  35. <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
  36. <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
  37. <![endif]-->
  38. <script type="text/javascript" src="//code.jquery.com/jquery-2.1.1.min.js"></script>
  39. <script type="text/javascript" src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
  40. {%- for path in extra_javascript %}
  41. <script src="{{ path }}"></script>
  42. {%- endfor %}
  43. </head>
  44. <body>
  45. {% include "nav.html" %}
  46. <div class="container">
  47. <div class="row">
  48. <div class="col-md-3">{% include "toc.html" %}</div>
  49. <div class="col-md-9" role="main">{% include "content.html" %}</div>
  50. </div>
  51. </div>
  52. {% if include_search %}{% include "search.html" %}{% endif %}
  53. <script src="{{ base_url }}/js/prettify-1.0.min.js"></script>
  54. <script src="{{ base_url }}/js/base.js"></script>
  55. <script>
  56. if (top != self) { top.location.replace(self.location.href); }
  57. (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  58. (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  59. m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  60. })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  61. ga('create', 'UA-47462200-1', 'eonasdan.github.io');
  62. ga('send', 'pageview');
  63. </script>
  64. </body>
  65. </html>