search-base.html 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <!-- Slightly Modified from _layouts/home.html -->
  2. <!DOCTYPE HTML>
  3. <html lang="en" >
  4. <head>
  5. {%- include head.html -%}
  6. {% assign reversed_posts = site.posts | reverse %}
  7. {% if reversed_posts %}
  8. <link rel="next" href="{{site.baseurl}}{{reversed_posts.first.url}}" />
  9. {% endif %}
  10. </head>
  11. <body>
  12. <div class="book">
  13. {%- include toc-date.html -%}
  14. <div class="book-body">
  15. <div class="book-header" role="navigation">
  16. <!-- Title -->
  17. <h1>
  18. <i class="fa fa-circle-o-notch fa-spin"></i>
  19. {% if page.title %}
  20. <a href="." >{{ page.title | escape }}</a>
  21. {% else %}
  22. <a href="." >{{ site.title | escape }}</a>
  23. {% endif %}
  24. </h1>
  25. </div>
  26. <div class="body-inner">
  27. <div class="page-wrapper" tabindex="-1" role="main">
  28. <div class="page-inner">
  29. <section class="normal markdown-section">
  30. {% if page.title %}
  31. <h1 id="{{ page.id }}">{{ page.title | escape }}</h1>
  32. {% else %}
  33. <h1 id="{{ page.id }}">{{ site.title | escape }}</h1>
  34. {% endif %}
  35. <br />
  36. </section>
  37. {{ content }}
  38. <div id="book-search-results">
  39. <div class="search-noresults">
  40. </div>
  41. {%- include search.html -%}
  42. </div>
  43. </div>
  44. </div>
  45. </div>
  46. </div>
  47. <script>
  48. var gitbook = gitbook || [];
  49. gitbook.push(function() {
  50. gitbook.page.hasChanged({%- include metadata-home.json.tpl -%});
  51. });
  52. </script>
  53. </div>
  54. {%- include footer.html -%}
  55. </body>
  56. </html>