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

@ -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 | replace: '/',''}}">{{p.weight}}. {{p.title}}</a>
</li>
{% endif %}
{% endif %}

View File

@ -3,7 +3,7 @@
{% 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 %}

View File

@ -21,7 +21,6 @@
<script src="js/toc.js"></script>
<script src="js/customscripts.js"></script>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="icon" href="favicon.ico" type="image/x-icon">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>

View File

@ -28,7 +28,7 @@
{% elsif page.url == subcategory.url %}
<li class="active"><a href="{{subcategory.url | replace: "/",""}}">{{subcategory.title}}</a></li>
{% else %}
<li><a href="{{subcategory.url}}">{{subcategory.title}}</a></li>
<li><a href="{{subcategory.url | replace: "/",""}}">{{subcategory.title}}</a></li>
{% endif %}
{% endif %}
{% endfor %}
@ -49,9 +49,9 @@
{% if subitem.external_url %}
<li><a href="{{subitem.external_url}}" target="_blank">{{subitem.title}}</a></li>
{% elsif page.url contains subitem.url %}
<li class="dropdownActive"><a href="{{subitem.url}}">{{subitem.title}}</a></li>
<li class="dropdownActive"><a href="{{subitem.url | replace: '/',''}}">{{subitem.title}}</a></li>
{% else %}
<li><a href="{{subitem.url}}">{{subitem.title}}</a></li>
<li><a href="{{subitem.url | replace: "/",""}}">{{subitem.title}}</a></li>
{% endif %}
{% endif %}
{% endfor %}
@ -65,8 +65,8 @@
<!-- special insertion -->
{% include custom/doc/customMenu.html %}
{% include feedback.html %}
{% comment %} {% include custom/doc/customMenu.html %}{% endcomment %}
{% include feedback.html %}
<li>