Fix some issues with relative URLs on Github Pages.
This commit is contained in:
1 parent
9887cb57b2
commit
f51eca20f5
5 files changed
+15
-12
No files matched your search
Vendored
+2
-2
@@ -7,12 +7,12 @@
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="brand" href="/">jq</a>
|
||||
<a class="brand" href="{{root}}/">jq</a>
|
||||
<div class="nav-collapse collapse">
|
||||
<ul class="nav">
|
||||
{% for item in navigation %}
|
||||
<li {% if item.permalink == permalink %} class="active" {% endif %}>
|
||||
<a href="{{item.permalink}}">{{item.name}}</a>
|
||||
<a href="{{root}}{{item.permalink}}">{{item.name}}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
<li><a href="https://github.com/stedolan/jq/issues">Issues</a></li>
|
||||
|
||||
Reference in new issue
Block a user