Skip to content

Commit

Permalink
Fixed the link of posts' nav-button.
Browse files Browse the repository at this point in the history
  • Loading branch information
cotes2020 committed Feb 3, 2020
1 parent b27ae2e commit a0179b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/related-posts.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ <h3 class="pt-2 mt-1 mb-4" data-toc-skip>{{ site.data.label.post.relate_posts }}
{% 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 }}
Expand Down

0 comments on commit a0179b2

Please sign in to comment.