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

@ -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 %}