fixing issue with links for tags, series, and top nav. Also commented out customMenu.html from topnav.html

This commit is contained in:
Tom Johnson
2015-08-18 12:02:13 -07:00
parent 005c38bbea
commit 77e651f476
8 changed files with 17 additions and 16 deletions

View File

@ -27,7 +27,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 | replace: '/',''}}">{{p.weight}}. {{p.title}}</a>
</li>
{% endif %}
{% endif %}
@ -55,7 +55,7 @@ This will be the next button at the bottom of the page:
{% if p.series == "ACME series" %}
{% assign nextTopic = page.weight | plus: "0.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 | replace: '/',''}}"><button type="button" class="btn btn-primary">Next: {{p.weight}} {{p.title}}</button></a>
{% endif %}
{% endif %}
{% endfor %}