go-ethereum/_layouts/sidebar.html
2019-02-19 10:44:13 +01:00

29 lines
No EOL
1.1 KiB
HTML

---
layout: default
---
<div class="container" style="padding-top: 24px;">
<div class="row">
<div class="col-md-3" id="toc" style="padding-top: 16px;">
{% for coll in site.collections %}
{% if coll.sidebar %}
<div class="list-group">
<a class="list-group-item active">{{ coll.caption }}</a>
{% for doc in coll.docs %}
{% capture url %}/{{ site.collections_dir}}/{{ doc.url }}{% endcapture %}
<a class="list-group-item"
href="{% include link.html url=url %}">
{% include title.html doc=doc coll=coll %}</a>
{% endfor %}
</div>
{% endif %}
{% endfor %}
</div>
<div class="col-md-9" id="content">
{% if page.title %}
<h1 class="featurette-heading">{{ page.title }}</h1>
{% endif %}
{{ content }}
</div>
</div>
</div>