post.html 2.3 KB

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