home.html 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <!DOCTYPE HTML>
  2. <html lang="en" >
  3. <head>
  4. {%- include head.html -%}
  5. {% assign reversed_posts = site.posts | reverse %}
  6. {% if reversed_posts %}
  7. <link rel="next" href="{{site.baseurl}}{{reversed_posts.first.url}}" />
  8. {% endif %}
  9. </head>
  10. <body>
  11. <div class="book">
  12. {%- include toc-date.html -%}
  13. <div class="book-body">
  14. <div class="book-header" role="navigation">
  15. <!-- Title -->
  16. <h1>
  17. <i class="fa fa-circle-o-notch fa-spin"></i>
  18. {% if page.title %}
  19. <a href="." >{{ page.title | escape }}</a>
  20. {% else %}
  21. <a href="." >{{ site.title | escape }}</a>
  22. {% endif %}
  23. </h1>
  24. </div>
  25. <div class="body-inner">
  26. {%- include body.html -%}
  27. {% if reversed_posts %}
  28. <a href="{{site.baseurl}}{{reversed_posts.first.url}}" class="navigation navigation-next navigation-unique" aria-label="Next page: {{reversed_posts.first.title}}">
  29. <i class="fa fa-angle-right"></i>
  30. </a>
  31. {% endif %}
  32. </div>
  33. </div>
  34. <script>
  35. var gitbook = gitbook || [];
  36. gitbook.push(function() {
  37. gitbook.page.hasChanged({%- include metadata-home.json.tpl -%});
  38. });
  39. </script>
  40. </div>
  41. {%- include footer.html -%}
  42. </body>
  43. </html>