All checks were successful
Build and Deploy / build_and_deploy (push) Successful in 1m19s
The goal of this change was to speed up my CSS pipeline. Previously builds would take up to 30s because it had to rebuild the CSS for every page (I inlined the CSS). This updates the pipeline to remain somewhat the same, but offloads the busywork of computing my theme CSS (my design system in other words), and is replaced by a mostly static file (`css/global/lilypad.css`), which I can update as my design system changes. I also offloaded several of my utility classes as I know I will want to use them in other sites I design, so it made sense to move them as well. The new pipeline makes use of 11ty's bundle feature (newly included in 11ty v3), which allows me to bundle all my CSS together into one file. Since I know my core styles like `lilypad.css` will always remain the same, I decided to keep that inline. I use the `transforms` feature for bundling to run a PostCSS transform on the bundled output, which resolves any imports and minifies the final output. In order to cut down my build times even further, I removed my XML minifier - it was taking upwards of 3 seconds to minify XML to probably a small benefit to end users. Reviewed-on: #4 Co-authored-by: Devin Haska <wonderfulfrog@noreply.git.cloud.haska.me> Co-committed-by: Devin Haska <wonderfulfrog@noreply.git.cloud.haska.me>
73 lines
2.3 KiB
HTML
73 lines
2.3 KiB
HTML
---
|
|
layout: "layouts/base"
|
|
permalink: /
|
|
---
|
|
|
|
{% from "macros/posts.njk" import list %}
|
|
<h1>Ahoj!</h1>
|
|
<p>
|
|
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>
|
|
I like to <a href="/posts">write</a> about <a href="/games">games</a>, <a href="/books">books</a>, and <a href="/watching/movies/recent">movies</a> to name a few things. There's a lot to explore, and I hope you have fun!
|
|
</p>
|
|
<section class="flow-space-8">
|
|
<header class="flow">
|
|
<h2>Favourite posts</h2>
|
|
<p class="flow-space-1">Hand-picked, curated selection of my favourite posts!</p>
|
|
</header>
|
|
{% set favouritePosts = collections.post | filterFavourites | reverse %}
|
|
{{ list(favouritePosts, "MM/DD/YYYY") }}
|
|
</section>
|
|
<section class="flow-space-8">
|
|
<header>
|
|
<h2>Recent posts</h2>
|
|
</header>
|
|
{% set recentPosts = collections.post | reverse | limit(5) %}
|
|
{{ list(recentPosts, "MM/DD/YYYY") }}
|
|
</section>
|
|
<section class="flow-space-8">
|
|
<header class="flow">
|
|
<h2>Other pages</h2>
|
|
<p class="flow-space-1">Some of my other pages you can check out!</p>
|
|
</header>
|
|
<ul class="cluster p-0 list-none" role="list">
|
|
<li>
|
|
<a href="/about" class="button">About</a>
|
|
</li>
|
|
<li>
|
|
<a href="/posts" class="button">Posts</a>
|
|
</li>
|
|
<li>
|
|
<a href="/games" class="button">Games</a>
|
|
</li>
|
|
<li>
|
|
<a href="/watching" class="button">Watching</a>
|
|
</li>
|
|
<li>
|
|
<a href="/books" class="button">Books</a>
|
|
</li>
|
|
<li>
|
|
<a href="/webrings" class="button">Webrings</a>
|
|
</li>
|
|
<li>
|
|
<a href="/uses" class="button">/uses</a>
|
|
</li>
|
|
<li>
|
|
<a href="/now" class="button">/now</a>
|
|
</li>
|
|
<li>
|
|
<a href="/colophon" class="button">Colophon</a>
|
|
</li>
|
|
<li>
|
|
<a href="/styleguide" class="button">Styleguide</a>
|
|
</li>
|
|
<li>
|
|
<a href="/contact" class="button">Contact</a>
|
|
</li>
|
|
<li>
|
|
<a href="/podroll" class="button">Podroll</a>
|
|
</li>
|
|
</ul>
|
|
</section>
|