jekyll-gitbook/_includes/toc-date.html
Tao He 285a13c815 Remove the search bar that doesn't work actually.
Signed-off-by: Tao He <sighingnow@gmail.com>
2021-01-24 02:32:27 +08:00

42 lines
1.5 KiB
HTML

<div class="book-summary">
<!-- <div id="book-search-input" role="search">
<input type="text" placeholder="Type to search" />
</div> -->
<nav role="navigation">
<ul class="summary">
{% if page.url == "/index.html" or page.url == "/" %}
<li class="chapter active" data-level="1.1" data-path="{{site.baseurl}}">
{% else %}
<li class="chapter" data-level="1.1" data-path="{{site.baseurl}}">
{% endif %}
<a href="{{site.baseurl}}">
{{ site.title | escape }}
</a>
</li>
<li class="divider"></li>
{% assign reversed_posts = site.posts | reverse %}
{% for post in reversed_posts %}
{% if page.url == post.url %}
<li class="chapter active" data-level="1.2" data-path="{{site.baseurl}}{{post.url}}">
{% else %}
<li class="chapter" data-level="1.1" data-path="{{site.baseurl}}{{post.url}}">
{% endif %}
<a href="{{site.baseurl}}{{post.url}}">
{{ post.title | escape }}
</a>
</li>
{% endfor %}
<li class="divider"></li>
<li>
<a href="https://github.com/sighingnow/jekyll-gitbook/fork" target="blank" class="gitbook-link">
Fork it Now!
</a>
</li>
</ul>
</nav>
</div>