fix: wrong relative url in sidebar extensions (#1)
This commit is contained in:
parent
07b034bd99
commit
fa7475dc5e
4 changed files with 4 additions and 4 deletions
|
@ -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 %}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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 -%}
|
||||
|
|
Loading…
Reference in a new issue