Fixed the link of posts' nav-button.

This commit is contained in:
Cotes Chung 2020-02-03 03:26:20 +08:00
parent b27ae2e436
commit a0179b2efe
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@
{% assign index = data[1] | plus: 0 %} {% assign index = data[1] | plus: 0 %}
{% assign post = site.posts[index] %} {% assign post = site.posts[index] %}
<div class="card"> <div class="card">
<a href="{{ post.url }}"> <a href="{{ post.url | relative_url }}">
<div class="card-body"> <div class="card-body">
<span class="timeago small"> <span class="timeago small">
{{ post.date | date: POST_DATE }} {{ post.date | date: POST_DATE }}