fixing series demo links

This commit is contained in:
tomjohnson1492 2016-08-11 17:45:28 -07:00
parent 2a76114fac
commit debb57f247
7 changed files with 16 additions and 9 deletions

View File

@ -9,7 +9,7 @@
<li class="active"> → {{p.title}}</li>
{% else %}
<li>
<a href="{{p.url}}">{{p.title}}</a>
<a href="{{p.url | remove: "/"}}">{{p.title}}</a>
</li>
{% endif %}
{% endif %}

View File

@ -4,7 +4,7 @@
{% if p.series == "Getting Started" %}
{% assign nextTopic = page.weight | plus: "1" %}
{% if p.weight == nextTopic %}
<a href="{{p.url}}"><button type="button" class="btn btn-primary">Next: {{p.title}}</button></a>
<a href="{{p.url | remove: "/"}}"><button type="button" class="btn btn-primary">Next: {{p.title}}</button></a>
{% endif %}
{% endif %}
{% endfor %}

View File

@ -9,7 +9,7 @@
<li class="active"> → {{p.weight}}. {{p.title}}</li>
{% else %}
<li>
<a href="{{p.url}}">{{p.weight}}. {{p.title}}</a>
<a href="{{p.url | remove: "/"}}">{{p.weight}}. {{p.title}}</a>
</li>
{% endif %}
{% endif %}

View File

@ -3,7 +3,7 @@
{% if p.series == "ACME series" %}
{% assign nextTopic = page.weight | plus: "1" %}
{% if p.weight == nextTopic %}
<a href="{{p.url}}"><button type="button" class="btn btn-primary">Next: {{p.weight}} {{p.title}}</button></a>
<a href="{{p.url | remove: "/"}}"><button type="button" class="btn btn-primary">Next: {{p.weight}} {{p.title}}</button></a>
{% endif %}
{% endif %}
{% endfor %}

View File

@ -7,7 +7,6 @@ permalink: index.html
summary: These brief instructions will help you get started quickly with the theme. The other topics in this help provide additional information and detail about working with other aspects of this theme and Jekyll.
---
## Download or clone the theme
First download or clone the theme from the [Github repo](https://github.com/tomjohnson1492/documentation-theme-jekyll). Most likely you won't be pulling in updates once you start customizing the theme, so downloading the theme (instead of cloning it) probably makes the most sense.

View File

@ -28,9 +28,17 @@ The following is a demo of a navtab. Refresh your page to see the tab you select
<li><a class="noCrossRef" href="#match" data-toggle="tab">Match</a></li>
</ul>
<div class="tab-content">
<div role="tabpanel" class="tab-pane active" id="profile">
<h2>Profile</h2>
<p>Praesent sit amet fermentum leo. Aliquam feugiat, nibh in u ltrices mattis, felis ipsum venenatis metus, vel vehicula libero mauris a enim. Sed placerat est ac lectus vestibulum tempor. Quisque ut condimentum massa. Proin venenatis leo id urna cursus blandit. Vivamus sit amet hendrerit metus.</p>
<div role="tabpanel" class="tab-pane active" id="profile" markdown="1">
## Profile
Praesent sit amet fermentum leo. Aliquam feugiat,
1. nibh in u ltrices mattis
2. felis ipsum venenatis metus, vel vehicula libero mauris a enim. Sed placerat est ac lectus vestibulum tempor.
* Quisque ut condimentum massa.
* ut condimentum massa.
> Proin venenatis leo id urna cursus blandit. Vivamus sit amet hendrerit metus.
</div>
<div role="tabpanel" class="tab-pane" id="about">

View File

@ -30,7 +30,7 @@ First create an include that contains your series button:
<li class="active"> → {{p.weight}}. {{p.title}}</li>
{% else %}
<li>
<a href="{{p.url}}">{{p.weight}}. {{p.title}}</a>
<a href="{{p.url | remove: "/"}}">{{p.weight}}. {{p.title}}</a>
</li>
{% endif %}
{% endif %}