Place content link in a p element

This commit is contained in:
Leilukin 2024-04-15 14:25:37 +08:00 committed by Helen Chong
parent 2123133ac3
commit b35049b32f

View File

@ -14,7 +14,7 @@ contentIsDivided: true
<ul class="content-list">
{% for article in collections["my articles"] %}
<li>
<a href="{{ article.url }}">{{ article.data.articleTitle }}</a>
<p><a href="{{ article.url }}">{{ article.data.articleTitle }}</a></p>
<time>{{ article.date | niceDate }}</time>
</li>
{% endfor %}
@ -35,7 +35,7 @@ contentIsDivided: true
<ul class="content-list">
{% for article in collections["featured articles"] %}
<li>
<a href="{{ article.url }}">{{ article.data.articleTitle }}</a>
<p><a href="{{ article.url }}">{{ article.data.articleTitle }}</a></p>
<time>{{ article.date | niceDate }}</time>
</li>
{% endfor %}