mirror of https://github.com/ethereum/go-ethereum
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.6 KiB
37 lines
1.6 KiB
---
|
|
layout: default
|
|
---
|
|
<div class="container" style="padding-top: 24px;">
|
|
<div class="row">
|
|
<div class="col-md-3" id="toc" style="padding-top: 16px;">
|
|
{% assign collections = site.collections | sort: "sidebar_index" %}
|
|
{% for coll in collections %}
|
|
{% if coll.sidebar_index %}
|
|
{% assign count = coll.docs | size %}
|
|
{% if count <= 5 %}
|
|
<div class="list-group">
|
|
<a class="list-group-item active">{{ coll.caption }}</a>
|
|
{% for doc in coll.docs %}
|
|
<a class="list-group-item"
|
|
href="{% include link.html url=doc.url %}">
|
|
{% include title.html doc=doc coll=coll %}</a>
|
|
{% endfor %}
|
|
</div>
|
|
{% else %}
|
|
{% capture url %}/{{ coll.label }}{% endcapture %}
|
|
<div class="list-group">
|
|
<a class="list-group-item active"
|
|
href="{% include link.html url=url %}">{{ coll.caption }}</a>
|
|
</div>
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
</div>
|
|
<div class="col-md-9" id="content">
|
|
{% if page.title %}
|
|
<h1 class="featurette-heading">{% include title.html doc=page coll=page.collection %}</h1>
|
|
{% endif %}
|
|
{{ content }}
|
|
</div>
|
|
</div>
|
|
</div> |