examples.html 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <!doctype html>
  2. <html lang="en"{% if page.html_class %} class="{{ page.html_class }}"{% endif %}>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  6. <meta name="description" content="">
  7. <meta name="author" content="{{ site.authors }}">
  8. <meta name="generator" content="Jekyll v{{ jekyll.version }}">
  9. <title>{{ page.title | smartify }} · {{ site.title | smartify }}</title>
  10. <link rel="canonical" href="{{ site.url | append: page.url }}">
  11. {% include stylesheet.html %}
  12. <style>
  13. .bd-placeholder-img {
  14. font-size: 1.125rem;
  15. text-anchor: middle;
  16. -webkit-user-select: none;
  17. -moz-user-select: none;
  18. -ms-user-select: none;
  19. user-select: none;
  20. }
  21. @media (min-width: 768px) {
  22. .bd-placeholder-img-lg {
  23. font-size: 3.5rem;
  24. }
  25. }
  26. </style>
  27. {%- for css in page.extra_css %}
  28. <!-- Custom styles for this template -->
  29. <link href="{{ css }}" rel="stylesheet">
  30. {%- endfor %}
  31. </head>
  32. <body{% if page.body_class %} class="{{ page.body_class }}"{% endif %}>
  33. {{ content }}
  34. {%- if page.include_js != false -%}
  35. <script src="{{ site.cdn.jquery }}" integrity="{{ site.cdn.jquery_hash }}" crossorigin="anonymous"></script>
  36. <script>window.jQuery || document.write('<script src="{{ site.baseurl }}/docs/{{ site.docs_version }}/assets/js/vendor/jquery-slim.min.js"><\/script>')</script>
  37. {%- if jekyll.environment == "production" -%}
  38. <script src="{{ site.baseurl }}/docs/{{ site.docs_version }}/dist/js/bootstrap.bundle.min.js" integrity="{{ site.cdn.js_bundle_hash }}" crossorigin="anonymous"></script>
  39. {%- else -%}
  40. <script src="{{ site.baseurl }}/docs/{{ site.docs_version }}/dist/js/bootstrap.bundle.js"></script>
  41. {%- endif -%}
  42. {%- for js in page.extra_js %}
  43. <script src="{{ js }}"></script>
  44. {%- endfor %}
  45. {%- endif -%}
  46. </body>
  47. </html>