Use level 3 heading for blog titles

This commit is contained in:
Helen Chong 2024-07-31 11:50:57 +08:00
parent ad87f93e48
commit 02c8311c38
1 changed files with 2 additions and 2 deletions

View File

@ -26,14 +26,14 @@ eleventyComputed:
<ul class="blog__posts">
{% for post in postList %}
<li class="blog__post">
<h2 class="blog__post--title">
<h3 class="blog__post--title">
<a href="{{ post.url }}">
{% if post.data.title %}{{ post.data.articleTitle }}
{% else %}
<code>{{ post.url }}</code>
{% endif %}
</a>
</h2>
</h3>
<p class="blog__post--time">{{ post.date | formatDate }}</p>
<p>{{ post.data.desc }}</p>
</li>