jekyll-gitbook/_includes/toc-date.html
HE, Tao 639825e67f
Links for fork.
Signed-off-by: HE, Tao <sighingnow@gmail.com>
2019-04-28 19:49:18 +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>