post.html 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. {%- include body.html -%}
  19. {% if page.previous %}
  20. <a href="{{site.baseurl}}{{page.previous.url}}" class="navigation navigation-prev navigation-unique" aria-label="Previous page: {{page.previous.title}}">
  21. <i class="fa fa-angle-left"></i>
  22. </a>
  23. {% else %}
  24. <a href="{{site.baseurl}}/" class="navigation navigation-prev navigation-unique" aria-label="Previous page: {{site.title}}">
  25. <i class="fa fa-angle-left"></i>
  26. </a>
  27. {% endif %}
  28. {% if page.next %}
  29. <a href="{{site.baseurl}}{{page.next.url}}" class="navigation navigation-next navigation-unique" aria-label="Next page: {{page.next.title}}">
  30. <i class="fa fa-angle-right"></i>
  31. </a>
  32. {% endif %}
  33. </div>
  34. <script>
  35. var gitbook = gitbook || [];
  36. gitbook.push(function() {
  37. gitbook.page.hasChanged({%- include metadata-post.json.tpl -%});
  38. });
  39. </script>
  40. </div>
  41. {%- include footer.html -%}
  42. </body>
  43. </html>