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

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>