fix: wrong relative url in sidebar extensions (#1)

This commit is contained in:
jeffreytse 2020-09-12 01:52:50 +08:00
parent 07b034bd99
commit fa7475dc5e
4 changed files with 4 additions and 4 deletions

View file

@ -6,5 +6,5 @@
{% assign keys = datetimes %}
{% assign field = 'date' %}
{% assign url = '/archives.html' %}
{% assign url = '/archives.html' | relative_url %}
{% include sidebar/common-list.html %}

View file

@ -5,5 +5,5 @@
{% assign keys = categories %}
{% assign field = 'categories' %}
{% assign url = '/categories.html' %}
{% assign url = '/categories.html' | relative_url %}
{% include sidebar/common-list.html %}

View file

@ -9,7 +9,7 @@
<div class="common-list">
<ul>
<li>
<a href="/index.html">
<a href="{{ '/index.html' | relative_url }}">
All<span>{{ site.posts.size }}</span>
</a>
</li>

View file

@ -5,5 +5,5 @@
{% assign keys = tags %}
{% assign field = 'tags' %}
{% assign url = '/tags.html' %}
{% assign url = '/tags.html' | relative_url %}
{%- include sidebar/common-list.html -%}