説明なし

base.html 4.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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. {% if favicon %}<link rel="shortcut icon" href="{{ favicon }}">
  11. {% else %}<link rel="shortcut icon" href="{{ base_url }}/img/favicon.ico">{% endif %}
  12. <title>{% if page_title %}{{ page_title }} - {% endif %}{{ site_name }}</title>
  13. <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet">
  14. <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet">
  15. <link href="{{ base_url }}/css/highlight.css" rel="stylesheet">
  16. <link href="{{ base_url }}/css/base.css" rel="stylesheet">
  17. {%- for path in extra_css %}
  18. <link href="{{ path }}" rel="stylesheet">
  19. {%- endfor %}
  20. <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
  21. <!--[if lt IE 9]>
  22. <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
  23. <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
  24. <![endif]-->
  25. </head>
  26. <body>
  27. {% include "nav.html" %}
  28. {% if current_page and current_page.is_homepage %}
  29. <div class="jumbotron bs-docs-header text-center">
  30. <div class="container">
  31. <h1>bootstrap-select</h1>
  32. <p class="lead">Bootstrap-select is a jQuery plugin that utilizes Bootstrap's dropdown.js to style and bring additional functionality to standard select elements.</p>
  33. <a class="btn btn-outline-inverse btn-lg" href="//github.com/silviomoreto/bootstrap-select/archive/v{{ config.extra.version }}.zip" role="button">
  34. <i class="fa fa-download"></i> Download (v{{ config.extra.version }})
  35. </a>
  36. </div>
  37. <div class="gh-btns">
  38. <iframe src="https://ghbtns.com/github-btn.html?user=silviomoreto&repo=bootstrap-select&type=star&count=true&size=large" frameborder="0" scrolling="0" width="160px" height="30px"></iframe>
  39. <iframe src="https://ghbtns.com/github-btn.html?user=silviomoreto&repo=bootstrap-select&type=fork&count=true&size=large" frameborder="0" scrolling="0" width="160px" height="30px"></iframe>
  40. </div>
  41. <div class="carbonad">
  42. <div class="carbonad-inner">
  43. <script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?zoneid=1673&serve=C6AILKT&placement=silviomoretogithubiobootstrapsel" id="_carbonads_js"></script>
  44. </div>
  45. <div class="charity">Ad revenue is donated to <a href="http://www.projetocana.org/" target="_blank" rel="nofollow">Projecto Cana</a>.</div>
  46. </div>
  47. </div>
  48. <div class="container">
  49. {% include "content.html" %}
  50. </div>
  51. {% else %}
  52. <section class="jumbotron">
  53. <div class="container">
  54. <h1>{{ page_title }}</h1>
  55. </div>
  56. </section>
  57. <div class="container">
  58. <div class="col-md-3">{% include "toc.html" %}</div>
  59. <div class="col-md-9" role="main">{% include "content.html" %}</div>
  60. </div>
  61. {% endif %}
  62. <div class="footer">
  63. <div class="container text-center">
  64. <p class="text-muted">Bootstrap-select is maintained by <a href="https://github.com/caseyjhol">caseyjhol</a>,
  65. <a href="https://github.com/t0xicCode">t0xicCode</a>, and the community.</p>
  66. </div>
  67. </div>
  68. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
  69. <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
  70. <script src="{{ base_url }}/js/highlight.pack.js"></script>
  71. <script src="{{ base_url }}/js/base.js"></script>
  72. {%- for path in extra_javascript %}
  73. <script src="{{ path }}"></script>
  74. {%- endfor %}
  75. <script type="text/javascript">
  76. var _gaq = _gaq || [];
  77. _gaq.push(['_setAccount', 'UA-35848102-1']);
  78. _gaq.push(['_trackPageview']);
  79. (function () {
  80. var ga = document.createElement('script');
  81. ga.type = 'text/javascript';
  82. ga.async = true;
  83. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  84. var s = document.getElementsByTagName('script')[0];
  85. s.parentNode.insertBefore(ga, s);
  86. })();
  87. </script>
  88. </body>
  89. </html>