42 lines
1.4 KiB
HTML
42 lines
1.4 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.url}}">
|
||
|
{% else %}
|
||
|
<li class="chapter" data-level="1.1" data-path="{{site.url}}">
|
||
|
{% endif %}
|
||
|
<a href="{{site.url}}">
|
||
|
{{ 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="{{post.url}}">
|
||
|
{% else %}
|
||
|
<li class="chapter" data-level="1.1" data-path="{{post.url}}">
|
||
|
{% endif %}
|
||
|
<a href="{{post.url}}">
|
||
|
{{ post.title | escape }}
|
||
|
</a>
|
||
|
</li>
|
||
|
{% endfor %}
|
||
|
|
||
|
<li class="divider"></li>
|
||
|
|
||
|
<li>
|
||
|
<a href="https://github.com/sighingnow/jekyll-gitbook" target="blank" class="gitbook-link">
|
||
|
Fork it Now!
|
||
|
</a>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</nav>
|
||
|
</div>
|