fix(posts): sort out date formatting

This commit is contained in:
Kat Inskip 2024-04-07 12:42:33 -07:00
parent 2a4387700f
commit ab8b6c09da
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
3 changed files with 11 additions and 2 deletions

View file

@ -10,6 +10,8 @@
</header> </header>
<main> <main>
<article> <article>
Published on {{ page.published_date }}.
{{ page.content }} {{ page.content }}
</article> </article>
</main> </main>

View file

@ -22,9 +22,16 @@ This website is not for talking about my professional life, but for credence; I
## posts ## posts
<nav> <nav>
<ul>
{% for post in collections.posts.pages %} {% for post in collections.posts.pages %}
* [{{ post.title }}]({{ post.permalink }}) <li>
<article>
<a href="{{ post.permalink }}"><h3>{{ post.title }}</h3></a>
<p><time>{{ post.published_date }}</time></P>
</article>
</li>
{% endfor %} {% endfor %}
</ul>
</nav> </nav>
</section> </section>

View file

@ -1,7 +1,7 @@
--- ---
title: The first month of life with the Framework 13 title: The first month of life with the Framework 13
published_date: 2024-04-07 19:34:59.86694117 +0000 published_date: 2024-04-07 19:34:59.86694117 +0000
layout: default.liquid layout: article.liquid
is_draft: false is_draft: false
--- ---
## Preparation ## Preparation