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

View file

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