Optimize the DOM of post link on homepage

This commit is contained in:
Cotes Chung 2020-12-29 15:37:32 +08:00
parent a20fd5bf6f
commit 08fbd06c63
1 changed files with 3 additions and 3 deletions

View File

@ -49,9 +49,9 @@ layout: page
{% for post in posts %} {% for post in posts %}
<div class="post-preview"> <div class="post-preview">
<a href="{{ post.url | relative_url }}"> <h1>
<h1>{{ post.title }}</h1> <a href="{{ post.url | relative_url }}">{{ post.title }}</a>
</a> </h1>
<div class="post-content"> <div class="post-content">
<p> <p>