_includes/page-links.html in jekyll-theme-hydeout-4.0.0 vs _includes/page-links.html in jekyll-theme-hydeout-4.0.1
- old
+ new
@@ -5,9 +5,9 @@
{% assign pages_list = site.pages|sort:"sidebar_sort_order" %}
{% for node in pages_list %}
{% if node.title != null %}
{% if node.sidebar_link %}
<a class="page-link {% if page.url == node.url %} active{% endif %}"
- href="{{ site.baseurl }}{{ node.url }}">{{ node.title }}</a>
+ href="{{ node.url | relative_url }}">{{ node.title }}</a>
{% endif %}
{% endif %}
{% endfor %}