feat: add style for date and categories

This commit is contained in:
Devin Haska 2024-02-05 13:14:21 -08:00
parent 3eafffdd3a
commit b702a3878d
6 changed files with 31 additions and 7 deletions

View file

@ -2,9 +2,13 @@
layout: base
---
<p>{{ date }}</p>
<h1>{{ title }}</h1>
<ul>
{% for category in categories %}<li>#{{ category }}</li>{% endfor %}
</ul>
{{ content | safe }}
<article class="flow">
<header class="flow" style="--flow-space: 1rem">
<time class="date" datetime="{{ date }}">{{ date | formatDate("MMMM D, YYYY") }}</time>
<h1>{{ title }}</h1>
<ul class="categories">
{% for category in categories %}<li>{{ category }}</li>{% endfor %}
</ul>
</header>
{{ content | safe }}
</article>