default.html 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. {% include header.html %}
  5. </head>
  6. <body>
  7. {% include skippy.html %}
  8. {% include v4.html %}
  9. {% include nav/main.html %}
  10. <div class="bs-docs-header" id="content" tabindex="-1">
  11. <div class="container">
  12. <h1>{{ page.title }}</h1>
  13. <p>{{ page.lead }}</p>
  14. {% include ads.html %}
  15. </div>
  16. </div>
  17. <div class="container bs-docs-container">
  18. <div class="row">
  19. <div class="col-md-{% if page.fullwidth == true %}12{% else %}9{% endif %}" role="main">
  20. {{ content }}
  21. </div>
  22. {% unless page.fullwidth == true %}
  23. <div class="col-md-3" role="complementary">
  24. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm">
  25. <form class="bs-docs-search">
  26. <input type="search" class="form-control" id="search-input" placeholder="Search..." aria-label="Search for..." autocomplete="off">
  27. </form>
  28. <ul class="nav bs-docs-sidenav">
  29. {% if page.slug == "getting-started" %}
  30. {% include nav/getting-started.html %}
  31. {% elsif page.slug == "css" %}
  32. {% include nav/css.html %}
  33. {% elsif page.slug == "components" %}
  34. {% include nav/components.html %}
  35. {% elsif page.slug == "js" %}
  36. {% include nav/javascript.html %}
  37. {% elsif page.slug == "customize" %}
  38. {% include nav/customize.html %}
  39. {% elsif page.slug == "about" %}
  40. {% include nav/about.html %}
  41. {% elsif page.slug == "migration" %}
  42. {% include nav/migration.html %}
  43. {% endif %}
  44. </ul>
  45. <a class="back-to-top" href="#top">
  46. Back to top
  47. </a>
  48. {% if page.slug == "css" or page.slug == "components" or page.slug == "js" %}
  49. <a href="#" class="bs-docs-theme-toggle" role="button">
  50. Preview theme
  51. </a>
  52. {% endif %}
  53. </nav>
  54. </div>
  55. {% endunless %}
  56. </div>
  57. </div>
  58. {% include footer.html %}
  59. </body>
  60. </html>