diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-08 21:35:11 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-08 21:35:11 +0300 |
commit | 0b13dadaacc964ad275794f457ec587069b890e9 (patch) | |
tree | ea32d0cbd20382df53036a24686df8ceaadca84f /_includes/common/sidebar.html | |
parent | paginator: add explanatory comments (diff) | |
download | jekyll-theme-0b13dadaacc964ad275794f457ec587069b890e9.tar.gz jekyll-theme-0b13dadaacc964ad275794f457ec587069b890e9.zip |
use relative_url instead of site.baseurl
Diffstat (limited to '_includes/common/sidebar.html')
-rw-r--r-- | _includes/common/sidebar.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_includes/common/sidebar.html b/_includes/common/sidebar.html index 76cced0..923eb04 100644 --- a/_includes/common/sidebar.html +++ b/_includes/common/sidebar.html @@ -14,7 +14,7 @@ {% else %} <div class="list-group wide-enough"> {% for post in site.posts limit: 5 %} - <a class="list-group-item" href="{{ site.baseurl }}{{ post.url }}"> + <a class="list-group-item" href="{{ post.url | relative_url }}"> <span class="badge"><span class="glyphicon glyphicon-time"></span> {{ post.date | date: '%-d %b %Y' }}</span> <span class="glyphicon glyphicon-file"></span> {{ post.title }} </a> |