toc-date.html 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <div class="book-summary">
  2. <!-- <div id="book-search-input" role="search">
  3. <input type="text" placeholder="Type to search" />
  4. </div> -->
  5. <nav role="navigation">
  6. <ul class="summary">
  7. {% if page.url == "/index.html" or page.url == "/" %}
  8. <li class="chapter active" data-level="1.1" data-path="{{site.baseurl}}">
  9. {% else %}
  10. <li class="chapter" data-level="1.1" data-path="{{site.baseurl}}">
  11. {% endif %}
  12. <a href="{{site.baseurl}}">
  13. {{ site.title | escape }}
  14. </a>
  15. </li>
  16. <li class="divider"></li>
  17. <!-- search link -->
  18. <li>
  19. <a href="{{site.baseurl}}/search">
  20. Search
  21. </a>
  22. </li>
  23. <li class="divider"></li>
  24. {% assign reversed_posts = site.posts | reverse %}
  25. {% for post in reversed_posts %}
  26. {% if page.url == post.url %}
  27. <li class="chapter active" data-level="1.2" data-path="{{site.baseurl}}{{post.url}}">
  28. {% else %}
  29. <li class="chapter" data-level="1.1" data-path="{{site.baseurl}}{{post.url}}">
  30. {% endif %}
  31. <a href="{{site.baseurl}}{{post.url}}">
  32. {{ post.title | escape }}
  33. </a>
  34. {% if site.toc.enabled %}
  35. {% if page.url == post.url %}
  36. {% include toc.html html=content h_min=site.toc.h_min h_max=site.toc.h_max %}
  37. {% endif %}
  38. {% endif %}
  39. </li>
  40. {% endfor %}
  41. <li class="divider"></li>
  42. <li>
  43. <a href="https://notabug.org/LibreTools.IO/LibreTools.io" target="blank" class="gitbook-link">
  44. Fork it Now!
  45. </a>
  46. <a href="/javascript.html" data-jslicense="1">JavaScript License Information</a>
  47. </li>
  48. </ul>
  49. </nav>
  50. </div>