feat: date and category on top of post title
This commit is contained in:
parent
046c39e352
commit
483b767740
1 changed files with 14 additions and 2 deletions
|
@ -8,6 +8,19 @@ layout: default
|
|||
{% for post in site.posts %}
|
||||
<li class="blog-home__list-items__item">
|
||||
<div class="blog-home__list-items__item__header">
|
||||
<div class="blog-home__list-items__item__header__description">
|
||||
<span
|
||||
>🗓️ {% assign date_format = site.minima.date_format | default: "%b
|
||||
%-d, %Y" %} {{ post.date | date: date_format }}
|
||||
</span>
|
||||
•
|
||||
<span
|
||||
>️#️⃣
|
||||
<a href="/{{post.category}}"
|
||||
>{{post.category | capitalize }}</a
|
||||
></span
|
||||
>
|
||||
</div>
|
||||
<div>
|
||||
<h3 class="blog-home__list-items__item__header__title">
|
||||
<a href="{{ post.url | relative_url }}"
|
||||
|
@ -16,8 +29,7 @@ layout: default
|
|||
</h3>
|
||||
</div>
|
||||
<div class="blog-home__list-items__item__header__description">
|
||||
<span>{{post.date | date_to_string}}</span> •
|
||||
<span>{{post.description}}</span>
|
||||
<span>{{post.description}}</span><br />
|
||||
</div>
|
||||
</div>
|
||||
<div class="blog-home__list-items__item__excerpt">
|
||||
|
|
Loading…
Reference in a new issue