feat: update all post filenames

This commit is contained in:
Devin Haska 2024-02-26 16:28:23 -08:00
parent 169858c05a
commit 48b8a5e10e
53 changed files with 22 additions and 96 deletions

View file

@ -32,7 +32,7 @@ const blogroll = [
url: "https://www.arcana.computer/",
},
{
title: "Jonas Downey,",
title: "Jonas Downey",
url: "https://jonas.do/",
},
{
@ -75,6 +75,12 @@ const blogroll = [
title: "Winnie Lim",
url: "https://winnielim.org/",
},
{
title: "Cory Dransfeldt",
url: "https://coryd.dev/",
},
];
module.exports = blogroll;
const sortedBlogroll = blogroll.sort((a, b) => a.title.localeCompare(b.title));
module.exports = sortedBlogroll;

View file

@ -5,7 +5,7 @@ layout: "layouts/base"
<article class="[ flow ]">
<header class="[ flow ]" style="--flow-space: 1rem">
{% from "macros/date.njk" import format %}
{{ format(date) }}
{{ format(page.date) }}
<h1>{{ title }}</h1>
<ul class="[ categories ] [ cluster list-none p-0 ]">
{% for tag in tags | filter(["post"]) %}

View file

@ -6,7 +6,7 @@
<a href="{{ post.url }}">{{ post.data.title }}</a>
<div class="[ text-fadeText font-size-s line-height-m ]">{{ post.data.excerpt }}</div>
</div>
<div class="[ text-fadeText ]">{{ post.data.date | formatDate(format) }}</div>
<div class="[ text-fadeText ]">{{ post.date | formatDate(format) }}</div>
</li>
{% endfor %}
</ul>

View file

@ -1,19 +0,0 @@
{% set itemsByYear = items | organizeByDate %}
{% set years = itemsByYear | keys | sort("desc") %}
<section class="[ archive ]">
{% for year in years %}
{% set itemsInYear = itemsByYear[year] %}
<div class="[ flex mt-2 mb-0.5 ]">
<h2>{{ year }}</h2>
</div>
<div class="[ items ] [ flex-col gap-0.25 ]">
{% for item in itemsInYear %}
<div class="[ flex items-center justify-between ]">
<a href="{{ item.url }}">{{ item.data.title }}</a>
<hr class="[ archive-divider ] [ mx-0.5 ]" />
<p class="[ archive-date ]">{{ item.date | formatDate("MM/DD") }}</p>
</div>
{% endfor %}
</div>
{% endfor %}
</section>

View file

@ -1,21 +0,0 @@
{% set itemsByYear = items | organizeByDate %}
{% set years = itemsByYear | keys | sort("desc") %}
<section class="[ archive ]">
{% for year in years %}
{% set itemsInYear = itemsByYear[year] %}
<div class="[ flex mt-2 mb-0.5 ]">
<h2>{{ year }}</h2>
</div>
<div class="[ items ] [ flex-col gap-0.25 ]">
{% for item in itemsInYear %}
{% set type = item.data.tags[1] %}
<div class="[ flex items-center justify-between gap-0.5 ]">
<a href="{{ item.url }}">{{ item.data.title }}</a>
<hr class="[ archive-divider ]" />
<p class="[ catalogue-type ] [ px-0.5 bg-surface text-primary ]">{{ type }}</p>
<p class="[ archive-date ]">{{ item.date | formatDate("MM/DD") }}</p>
</div>
{% endfor %}
</div>
{% endfor %}
</section>

View file

@ -1,6 +1,5 @@
---
title: Switching from Gmail to ProtonMail
date: 2018-11-24
excerpt: The beginning of a quest to take back my data.
tags: [email, protonmail]
---

View file

@ -1,6 +1,5 @@
---
title: My vinyl journey
date: 2018-12-09
excerpt: A cautionary tale of getting into collecting records.
tags: ["music", "vinyl", "collecting"]
---

View file

@ -1,6 +1,5 @@
---
title: Professional development in 2018
date: 2019-01-07
excerpt: A look back at what happened in 2018 - professionally. For me.
tags: ["personal", "career", "growth", "react"]
---

View file

@ -1,6 +1,5 @@
---
title: How this blog works
date: 2019-04-13
excerpt: Everything powering this blog explained.
tags: ["gatsbyjs", "ssg", "react"]
---

View file

@ -1,6 +1,5 @@
---
title: Thoughts on the Apple Watch
date: 2019-05-20
excerpt: My experience with the Series 3 Apple Watch, 11 months later.
tags: ["apple watch", "apple"]
---

View file

@ -1,6 +1,5 @@
---
title: Coming back to vinyl
date: 2019-09-14
excerpt: Sometimes minimalism goes too far.
tags: ["vinyl", "collecting", "minimalism"]
---

View file

@ -1,6 +1,5 @@
---
title: How does React's Suspense work?
date: 2019-10-26
excerpt: The Suspense is killing me.
tags: ["react"]
---

View file

@ -1,6 +1,5 @@
---
title: Professional development in 2019
date: 2020-01-23
excerpt: A look back at what happened in 2019 - professionally. For me.
tags: ["career", "growth", "personal", "react", "swift"]
---

View file

@ -1,6 +1,5 @@
---
title: Recently
date: 2020-05-18
excerpt: May 2020.
tags: ["recently"]
---

View file

@ -1,6 +1,5 @@
---
title: Recently
date: 2020-06-02
excerpt: June 2020.
tags: ["recently"]
---

View file

@ -1,6 +1,5 @@
---
title: Recently
date: 2020-07-04
excerpt: July 2020.
tags: ["recently"]
---

View file

@ -1,6 +1,5 @@
---
title: Take The Power Back (Over My Music)
date: 2020-07-26
excerpt: One guy's struggle to regain ownership of some MP3 files.
tags: ["music", "beets", "plex"]
youtube: true

View file

@ -1,6 +1,5 @@
---
title: Recently
date: 2020-08-02
excerpt: August 2020.
tags: ["recently"]
---

View file

@ -1,6 +1,5 @@
---
title: Give In to Feel Good
date: 2020-08-16
excerpt: Procrastination isnt just about laziness, is it?
tags: ["procrastination", "mental health"]
youtube: true

View file

@ -1,6 +1,5 @@
---
title: Recently
date: 2020-09-02
excerpt: September 2020.
tags: ["recently"]
---

View file

@ -1,6 +1,5 @@
---
title: Whats Next?
date: 2020-09-13
excerpt: From one framework to another.
tags: ["nextjs", "gatsbyjs", "tailwind"]
---

View file

@ -1,6 +1,5 @@
---
title: Recently
date: 2020-10-04
excerpt: October 2020.
tags: ["recently"]
---

View file

@ -1,6 +1,5 @@
---
title: Recently
date: 2020-11-06
excerpt: November 2020.
tags: ["recently"]
---

View file

@ -1,6 +1,5 @@
---
title: Recently
date: 2020-12-07
excerpt: December 2020.
tags: ["recently"]
---

View file

@ -1,6 +1,5 @@
---
title: "2020: In Review"
date: 2021-01-09
excerpt: A remarkable year.
tags: ["year recap"]
---

View file

@ -1,6 +1,5 @@
---
title: "Tadpoles: The Big Little Migration"
date: 2021-01-10
excerpt: A short film about frogs.
tags: ["short film", "frogs"]
youtube: true

View file

@ -1,6 +1,5 @@
---
title: Remember to be nice
date: 2021-01-12
excerpt: Open source is often a thankless job.
tags: ["open source", "signal"]
---

View file

@ -1,6 +1,5 @@
---
title: A Primer on Canadian Government
date: "2021-01-27"
excerpt: Canadas parliamentary system explained.
tags: ["canada", "government"]
favourite: true

View file

@ -1,6 +1,5 @@
---
title: Recently
date: 2021-02-01
excerpt: January 2021.
tags: ["recently"]
---

View file

@ -1,6 +1,5 @@
---
title: Recently
date: 2021-03-05
excerpt: February 2021.
tags: ["recently", "valheim"]
youtube: true

View file

@ -1,6 +1,5 @@
---
title: Recently
date: 2021-04-01T19:03:49.841Z
excerpt: March 2021.
tags: ["recently", "valheim"]
youtube: true

View file

@ -1,7 +1,5 @@
---
title: My vim setup
draft: false
date: 2021-04-18T20:24:10.177Z
excerpt: Everybody does it differently.
tags: ["vim", "development"]
---

View file

@ -1,7 +1,5 @@
---
title: Recently
draft: false
date: 2021-05-01T19:03:49.841Z
excerpt: April 2021.
tags: ["recently"]
youtube: true

View file

@ -1,6 +1,5 @@
---
title: Recently
date: 2021-06-01T19:03:49.841Z
excerpt: May 2021.
tags: ["recently"]
---

View file

@ -1,6 +1,5 @@
---
title: "GMTK Game Jam Post-Mortem"
date: "2021-07-03T07:25:56.354Z"
excerpt: My first game jam ever.
tags: ["gamejam", "gamedev"]
favourite: true

View file

@ -1,7 +1,5 @@
---
title: Recently
draft: false
date: 2021-07-05T00:11:37+00:00
excerpt: June 2021.
tags: ["recently"]
---

View file

@ -1,6 +1,5 @@
---
title: Week 1
date: 2021-08-15T19:01:49.565Z
excerpt: A new week, a new format.
tags: ["weaknotes"]
---

View file

@ -1,6 +1,5 @@
---
title: Week 2
date: 2021-08-22T22:58:02.387Z
excerpt: Bit of a weird week.
tags: ["weaknotes"]
---

View file

@ -1,6 +1,5 @@
---
title: Week 3
date: 2021-08-30T00:07:20.030Z
excerpt: The One Where Apple Sucks A Lot.
tags: ["weaknotes"]
---

View file

@ -1,6 +1,5 @@
---
title: Week 4
date: 2021-09-13T00:07:20.030Z
excerpt: It's the fourth one.
tags: ["weaknotes"]
---

View file

@ -1,6 +1,5 @@
---
title: Version 2
date: 2021-09-19T00:50:06.409Z
excerpt: Electric boogaloo.
tags: ["mdx", "development", "netlify", "eslint"]
---

View file

@ -1,6 +1,5 @@
---
title: Stray Thoughts 1
date: 2021-09-27T19:42:32.596Z
excerpt: I can't decide what to call my weekly posts anymore.
tags: ["stray thoughts"]
---

View file

@ -1,6 +1,5 @@
---
title: Stray Thoughts 2
date: 2021-10-03T22:35:21.592Z
excerpt: Are collected thoughts really stray?
tags: ["stray thoughts"]
---

View file

@ -1,6 +1,5 @@
---
title: Stray Thoughts 3
date: 2021-10-12T16:54:44.498Z
excerpt: Sweater weather is here!
tags: ["stray thoughts"]
---

View file

@ -1,6 +1,5 @@
---
title: Checking In
date: 2021-11-24T07:03:52.766Z
excerpt: Kept you waiting, huh?
tags: ["checking in"]
---

View file

@ -1,6 +1,5 @@
---
title: "2021 Ranked: Games"
date: 2022-01-18T20:52:22.166Z
excerpt: All of the games I played in 2021. Ranked.
tags: ["rankings"]
---

View file

@ -1,6 +1,5 @@
---
title: "The Fellow Stagg: A Review of the Details"
date: 2022-01-22T21:35:22.320Z
excerpt: Is it the Apple of kettles?
tags: ["tea", "reviews"]
---

View file

@ -1,6 +1,5 @@
---
title: Recently
date: 2022-02-01T23:49:47.158Z
excerpt: February 2022.
tags: ["recently"]
youtube: true

View file

@ -1,6 +1,5 @@
---
title: "It's Been a While"
date: 2022-10-02T03:07:55.330Z
excerpt: February 2022 - September 2022.
tags: ["gba", "updates", "burnout"]
---

View file

@ -1,6 +1,5 @@
---
title: Lately
date: 2024-01-02T03:36:21.754Z
excerpt: Kept you waiting, huh?
tags: ["updates"]
---

View file

@ -1,6 +1,5 @@
---
title: "The photography behind Earthrise"
date: 2024-02-13
excerpt: "Turns out there's more to it than just snapping a pic"
youtube: true
tags: ["space", "nasa", "photography"]

View file

@ -1,6 +1,5 @@
---
title: On a silver platter
date: 2024-02-26
excerpt: Or how Trudeau is giving away the election.
tags: ["canada", "politics", "arrivecan"]
---

View file

@ -9,9 +9,19 @@ pagination:
permalink: /tags/{{ tag | slugify }}/index.html
---
{% from "macros/posts.njk" import list %}
<h1>Tag: {{ tag }}</h1>
<p>
All posts tagged with "{{ tag }}", or go back to <a href="/tags">all tags</a>.
</p>
{% set items = collections.postsByTag[ tag ] %}
{% include "partials/archive.html" %}
{% set itemsByYear = collections.postsByTag[tag] | reverse | organizeByDate %}
{% set years = itemsByYear | keys | sort("desc") %}
<section class="[ flow ]">
{% for year in years %}
{% set itemsInYear = itemsByYear[year] %}
<h2>{{ year }}</h2>
<section>
{{ list(itemsInYear) }}
</section>
{% endfor %}
</section>