Skip to content

Commit 4b1fd0a

Browse files
committed
Optimize the DOM of post link on homepage
1 parent 8ad7def commit 4b1fd0a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

_layouts/home.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@
4949
{% for post in posts %}
5050

5151
<div class="post-preview">
52-
<a href="{{ post.url | relative_url }}">
53-
<h1>{{ post.title }}</h1>
54-
</a>
52+
<h1>
53+
<a href="{{ post.url | relative_url }}">{{ post.title }}</a>
54+
</h1>
5555

5656
<div class="post-content">
5757
<p>

0 commit comments

Comments
 (0)