From fa7475dc5ee57eb01e8f2adcf17835dd552c3c61 Mon Sep 17 00:00:00 2001 From: jeffreytse Date: Sat, 12 Sep 2020 01:52:50 +0800 Subject: fix: wrong relative url in sidebar extensions (#1) --- _includes/sidebar/archive-list.html | 2 +- _includes/sidebar/category-list.html | 2 +- _includes/sidebar/common-list.html | 2 +- _includes/sidebar/tag-list.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to '_includes/sidebar') diff --git a/_includes/sidebar/archive-list.html b/_includes/sidebar/archive-list.html index 01968e7..b8103fa 100644 --- a/_includes/sidebar/archive-list.html +++ b/_includes/sidebar/archive-list.html @@ -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 %} diff --git a/_includes/sidebar/category-list.html b/_includes/sidebar/category-list.html index 12b26ec..6922fbd 100644 --- a/_includes/sidebar/category-list.html +++ b/_includes/sidebar/category-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 %} diff --git a/_includes/sidebar/common-list.html b/_includes/sidebar/common-list.html index 7e7bf96..b8f643f 100644 --- a/_includes/sidebar/common-list.html +++ b/_includes/sidebar/common-list.html @@ -9,7 +9,7 @@