feat: homepage content update

This commit is contained in:
Devin Haska 2025-01-26 17:26:18 -08:00
parent e1f989ee2e
commit e847649457

View file

@ -5,33 +5,32 @@ permalink: /
{% from "macros/posts.njk" import list %} {% from "macros/posts.njk" import list %}
<h1>Ahoj!</h1> <h1>Ahoj!</h1>
<p>Hello! My name is Devin.</p>
<p>I'm a creative developer who specializes in web and mobile development.</p>
<p> <p>
Welcome to my little slice of the internet. I like to <a href="/posts">write</a> and catalogue things. <a href="/games">Games</a>, <a href="/books">books</a>, <a href="/movies">movies</a>, and <a href="/catalogue">and more</a>! There's a lot to explore, and I hope you have fun! Hello! My name is Devin. I'm a creative web developer in <a href="https://en.wikipedia.org/wiki/Victoria,_British_Columbia"
target="_blank">Victoria, British Columbia</a>. If you want to learn more about me, check out my <a href="/about">about page</a>.
</p> </p>
<p> <p>
If you're interested, I have an <a href="/about">about page</a> all about me! I like to <a href="/posts">write</a> about <a href="/games">games</a>, <a href="/books">books</a>, and <a href="/movies">movies</a> to name a few things. There's a lot to explore, and I hope you have fun!
</p> </p>
<section> <section class="flow-space-2">
<header class="flow"> <header class="flow">
<h2>Favourite posts</h2> <h2>Favourite posts</h2>
<p>Hand-picked, curated selection of my favourite posts!</p> <p class="flow-space-0.25">Hand-picked, curated selection of my favourite posts!</p>
</header> </header>
{% set favouritePosts = collections.post | filterFavourites | reverse %} {% set favouritePosts = collections.post | filterFavourites | reverse %}
{{ list(favouritePosts, "MM/DD/YYYY") }} {{ list(favouritePosts, "MM/DD/YYYY") }}
</section> </section>
<section> <section class="flow-space-2">
<header> <header>
<h2>Recent posts</h2> <h2>Recent posts</h2>
</header> </header>
{% set recentPosts = collections.post | reverse | limit(5) %} {% set recentPosts = collections.post | reverse | limit(5) %}
{{ list(recentPosts, "MM/DD/YYYY") }} {{ list(recentPosts, "MM/DD/YYYY") }}
</section> </section>
<section> <section class="flow-space-2">
<header class="flow"> <header class="flow">
<h2>Other pages</h2> <h2>Other pages</h2>
<p>Some of my other pages you can check out!</p> <p class="flow-space-0.25">Some of my other pages you can check out!</p>
</header> </header>
<ul class="cluster p-0 gap-0.5 list-none" role="list"> <ul class="cluster p-0 gap-0.5 list-none" role="list">
<li> <li>