improved installation instructions

This commit is contained in:
tomjohnson1492
2016-10-07 18:58:20 -07:00
parent bbd495a3ec
commit b69693e0fb
18 changed files with 124 additions and 77 deletions

View File

@ -1,4 +1,3 @@
<p>{% assign series_pages = site.tags.series_acme %}
{% for p in pages %}
{% if p.series == "Getting Started" %}

View File

@ -1,10 +1,30 @@
<p>{% assign series_pages = site.tags.series_acme %}
{% for p in pages %}
{% if p.series == "ACME series" %}
{% assign nextTopic = page.weight | plus: "1" %}
{% if p.weight == nextTopic %}
<a href="{{p.url | remove: "/"}}"><button type="button" class="btn btn-primary">Next: {{p.weight}} {{p.title}}</button></a>
{% endif %}
{% endif %}
{% endfor %}
</p>
<div class="seriesContext">
<a>
{% assign pages = site.pages | sort:"weight" %}
{% for pg in pages %}
{% if pg.series == "ACME series" %}
{% if pg.weight > page.weight %}
<a href="{{pg.url | remove: '/'}}"><button type="button" class="btn btn-primary">Next: {{pg.title}}</button></a>
{% break %}
{% endif %}
{% endif %}
{% endfor %}
</a>
&nbsp;
<div class="btn-group">
<button type="button" data-toggle="dropdown" class="btn btn-primary dropdown-toggle">Jump to: <span class="caret"></span></button>
<ol class="dropdown-menu">
{% for pg in pages %}
{% if pg.series == "ACME series" %}
{% if pg.url == page.url %}
<li class="active"> → {{pg.weight}}. {{pg.title}}</li>
{% else %}
<li>
<a href="{{pg.url | remove: '/'}}">{{pg.title}}</a>
</li>
{% endif %}
{% endif %}
{% endfor %}
</ol>
</div>
</div>