Place content link in a p element

This commit is contained in:
Helen Chong 2024-04-15 14:25:37 +08:00
parent 83660b9359
commit b129d496ad
1 changed files with 2 additions and 2 deletions

View File

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