From b2d2ce6239b7519cd384d4be789e2404cec211ce Mon Sep 17 00:00:00 2001 From: Cassie Jones Date: Tue, 12 Nov 2019 00:57:50 -0500 Subject: [PATCH] Add tags to the data --- .eleventy.js | 2 ++ _includes/style.css | 4 ++-- posts/2016/i-am-a-rust-contributor.md | 3 +++ posts/2017/package-manager-race-condition.md | 4 ++++ posts/2018/debugging-the-deep-end.md | 4 +++- posts/2018/heat-signature.md | 4 +++- posts/2018/llvm-hearts-peano-addition.md | 5 ++++- posts/2018/min-benchmark.md | 6 +++--- posts/2019/hello-world-in-0x-a-presses.md | 2 ++ posts/2019/modding-games-and-freezing-fish.md | 4 ++++ 10 files changed, 30 insertions(+), 8 deletions(-) diff --git a/.eleventy.js b/.eleventy.js index 7257ed9..de26012 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -26,6 +26,8 @@ module.exports = (eleventyConfig) => { eleventyConfig.addFilter("cssmin", css => new CleanCSS({}).minify(css).styles); + eleventyConfig.setDataDeepMerge(true); + eleventyConfig.addCollection("years", collection => { const posts = collection.getFilteredByTag("posts"); const items = groupby(posts, item => item.date.getFullYear()); diff --git a/_includes/style.css b/_includes/style.css index 3efb598..de04397 100644 --- a/_includes/style.css +++ b/_includes/style.css @@ -51,8 +51,8 @@ aside.warning { background: #ffecbf; } .ls-none { list-style: none; padding: 0; margin: 0; } .im-icon { background: none; width: 2em; } .hov-fade:hover { filter: invert(50%); } -.row > .block-1 { width: 1em; } -.col > .block-1 { height: 1em; } +.wide-1, .row > .block-1 { display: inline-block; width: 1em; } +.tall-1, .col > .block-1 { display: inline-block; height: 1em; } /* Barebones un-highlighted code blocks */ pre > code { diff --git a/posts/2016/i-am-a-rust-contributor.md b/posts/2016/i-am-a-rust-contributor.md index 1b69689..e738a99 100644 --- a/posts/2016/i-am-a-rust-contributor.md +++ b/posts/2016/i-am-a-rust-contributor.md @@ -1,6 +1,9 @@ --- title: "I'm a Rust Contributor" date: 2016-09-20 +tags: +- rust +- open source summary: "I got a PR merged into Rust, wow, that's pretty cool!" --- diff --git a/posts/2017/package-manager-race-condition.md b/posts/2017/package-manager-race-condition.md index c148223..f95aa4a 100644 --- a/posts/2017/package-manager-race-condition.md +++ b/posts/2017/package-manager-race-condition.md @@ -2,6 +2,10 @@ title: "You Got Your Race Condition Inside My Package Manager!" date: 2017-08-14 author: Cassie Jones +tags: +- python +- pypi +- debugging summary: "We solve a fun, surreal debugging mystery involving pip and version compatibility." --- diff --git a/posts/2018/debugging-the-deep-end.md b/posts/2018/debugging-the-deep-end.md index 13e4cfa..443dd47 100644 --- a/posts/2018/debugging-the-deep-end.md +++ b/posts/2018/debugging-the-deep-end.md @@ -1,7 +1,9 @@ --- title: "Debugging in the Deep End" date: 2018-04-17 -# tags: code +tags: +- code +- open source author: Cassie Jones summary: "I discuss the approach I used to fix a bug in VCV Rack despite having never looked at the codebase before." --- diff --git a/posts/2018/heat-signature.md b/posts/2018/heat-signature.md index 1abf5b5..9f7ddf6 100644 --- a/posts/2018/heat-signature.md +++ b/posts/2018/heat-signature.md @@ -1,7 +1,9 @@ --- title: "Getting Spaced in Heat Signature" date: 2018-10-05 -# tags: video games; story +tags: +- games +- story author: Cassie Jones summary: "I tell the dramatic story of one of my early heat signature games." --- diff --git a/posts/2018/llvm-hearts-peano-addition.md b/posts/2018/llvm-hearts-peano-addition.md index 1fc66da..fb40221 100644 --- a/posts/2018/llvm-hearts-peano-addition.md +++ b/posts/2018/llvm-hearts-peano-addition.md @@ -1,7 +1,10 @@ --- title: "LLVM 💖s Peano Addition" date: 2018-09-07 -# tags: llvm; compilers; optimization +tags: +- llvm +- compilers +- optimization summary: "I am surprised to discover that LLVM can optimize the standard peano definition of addition, so I set out to investigate." --- diff --git a/posts/2018/min-benchmark.md b/posts/2018/min-benchmark.md index d1033fb..cb613f3 100644 --- a/posts/2018/min-benchmark.md +++ b/posts/2018/min-benchmark.md @@ -1,9 +1,9 @@ --- title: "Computing Min" date: 2018-08-27 -# tags: rust; benchmarking -slug: computing-min -author: Cassie Jones +tags: +- rust +- benchmarking summary: "I benchmark a few different implementations of min, because that's fun." --- diff --git a/posts/2019/hello-world-in-0x-a-presses.md b/posts/2019/hello-world-in-0x-a-presses.md index a73f6e0..bafa5c2 100644 --- a/posts/2019/hello-world-in-0x-a-presses.md +++ b/posts/2019/hello-world-in-0x-a-presses.md @@ -1,6 +1,8 @@ --- title: "Hello World, in 0x A Presses" date: 2019-11-02 +tags: +- rust summary: "Write a Hello World program in Rust, without ever pressing the A key, and learn some things along the way." --- diff --git a/posts/2019/modding-games-and-freezing-fish.md b/posts/2019/modding-games-and-freezing-fish.md index 8c6bf89..f79dee1 100644 --- a/posts/2019/modding-games-and-freezing-fish.md +++ b/posts/2019/modding-games-and-freezing-fish.md @@ -1,6 +1,10 @@ --- title: "Modding Games and Freezing Fish" date: 2019-11-06 +tags: +- csharp +- reverse engineering +- games summary: "I learn how to write my own mod for a C# game so that I can skip a part I was stuck on. You can do it to! (This post contains minor spoilers for the Dark Bramble in Outer Wilds)" --- -- 2.43.2