feat: various markup improvements for semantic

This commit is contained in:
Devin Haska 2024-02-27 22:26:49 -08:00
parent 3caeff19bc
commit f286523455
9 changed files with 81 additions and 46 deletions

View file

@ -13,14 +13,18 @@ permalink: /
<p>
If you're interested, I have an <a href="/about">about page</a> all about me!
</p>
<h2>Favourite posts</h2>
<p>Hand-picked, curated selection of my favourite posts!</p>
{% set favouritePosts = collections.post | filterFavourites | reverse %}
<section>
<header class="[ flow ]">
<h2>Favourite posts</h2>
<p>Hand-picked, curated selection of my favourite posts!</p>
</header>
{% set favouritePosts = collections.post | filterFavourites | reverse %}
{{ list(favouritePosts, "MM/DD/YYYY") }}
</section>
<h2>Recent posts</h2>
{% set recentPosts = collections.post | reverse | limit(5) %}
<section>
<header>
<h2>Recent posts</h2>
</header>
{% set recentPosts = collections.post | reverse | limit(5) %}
{{ list(recentPosts, "MM/DD/YYYY") }}
</section>