From 4578d6f9f2a1cdadefd4fd270b5387a34da93eba Mon Sep 17 00:00:00 2001 From: Chris Kaczor Date: Mon, 14 Oct 2024 15:49:31 +0000 Subject: [PATCH] Switch categories to tags --- content/blog/back-again/index.md | 6 +++--- content/blog/cpu-usage-status-window/index.md | 6 +++--- content/blog/etsy-shop-widget/index.md | 4 ++-- content/blog/feed-center/index.md | 4 ++-- content/blog/floating-status-window/index.md | 6 +++--- content/blog/hello-world/index.md | 6 +++--- content/blog/laundry-monitor-hardware/index.md | 4 ++-- content/blog/laundry-monitor-software/index.md | 6 +++--- .../system-temperature-status-window/index.md | 6 +++--- content/blog/weather-station/index.md | 6 +++--- content/blog/work-indicator/index.md | 4 ++-- eleventy.config.js | 17 ----------------- 12 files changed, 29 insertions(+), 46 deletions(-) diff --git a/content/blog/back-again/index.md b/content/blog/back-again/index.md index 8150474..6914af4 100644 --- a/content/blog/back-again/index.md +++ b/content/blog/back-again/index.md @@ -1,9 +1,9 @@ --- title: "Back Again" date: "2019-12-13" -categories: - - "code" - - "excuses" +tags: + - "Code" + - "Excuses" --- When I started this blog I had recently been laid off and figured it was as good a time as any to give some visibility to the code I had been creating over the years rather than hoarding it like a jealous dragon. I intended to keep up with it but then I started a new job and the writing sort of fell by the wayside. I kept working on projects when I could but never really got the chance to write about them. I'm hoping to be a bit more consistent this time around but only time will tell. diff --git a/content/blog/cpu-usage-status-window/index.md b/content/blog/cpu-usage-status-window/index.md index 137e0b1..233e1c7 100644 --- a/content/blog/cpu-usage-status-window/index.md +++ b/content/blog/cpu-usage-status-window/index.md @@ -1,9 +1,9 @@ --- title: "CPU Usage Status Window" date: "2018-03-08" -categories: - - "code" - - "floating-status-window" +tags: + - "Code" + - "Floating Status Window" --- Now that I've written about my [FloatingStatusWindow](https://github.com/ckaczor/FloatingStatusWindow) library I can start to talk about the projects that use it. First up is the [ProcessCpuUsageStatusWindow](https://github.com/ckaczor/ProcessCpuUsageStatusWindow) project. diff --git a/content/blog/etsy-shop-widget/index.md b/content/blog/etsy-shop-widget/index.md index 3bbcdac..17c2053 100644 --- a/content/blog/etsy-shop-widget/index.md +++ b/content/blog/etsy-shop-widget/index.md @@ -1,8 +1,8 @@ --- title: "Etsy Shop Widget" date: "2018-04-20" -categories: - - "code" +tags: + - "Code" --- My wife and a friend run The Crafty Coop (edit: now closed) - an event planning business that also sells handmade party decorations/favors online and at craft shows. One of the ways I help out is as the designated "IT guy" by handling the web/email hosting and other technical stuff. diff --git a/content/blog/feed-center/index.md b/content/blog/feed-center/index.md index 5688437..f52292e 100644 --- a/content/blog/feed-center/index.md +++ b/content/blog/feed-center/index.md @@ -1,8 +1,8 @@ --- title: "Feed Center" date: "2018-04-04" -categories: - - "code" +tags: + - "Code" --- One of my most complete projects is [Feed Center](https://github.com/ckaczor/FeedCenter) - an RSS feed reader designed to blend in with the Windows desktop. diff --git a/content/blog/floating-status-window/index.md b/content/blog/floating-status-window/index.md index f64fd68..222e77d 100644 --- a/content/blog/floating-status-window/index.md +++ b/content/blog/floating-status-window/index.md @@ -1,9 +1,9 @@ --- title: "Floating Status Window" date: "2018-02-21" -categories: - - "code" - - "floating-status-window" +tags: + - "Code" + - "Floating Status Window" --- Something that shows up in a lot of my projects is my [FloatingStatusWindow](https://github.com/ckaczor/FloatingStatusWindow) library. It allows the creation of something akin to a desktop widget that displays simple text and blends in with the Windows desktop. This is what several of them look like in the corner of my secondary monitor: diff --git a/content/blog/hello-world/index.md b/content/blog/hello-world/index.md index 9b39336..748348d 100644 --- a/content/blog/hello-world/index.md +++ b/content/blog/hello-world/index.md @@ -1,9 +1,9 @@ --- title: "Hello world!" date: "2018-02-05" -categories: - - "code" - - "critters" +tags: + - "Code" + - "Critters" --- Being a programmer at heart it seems appropriate to stick with the classic "hello world" for starting off! diff --git a/content/blog/laundry-monitor-hardware/index.md b/content/blog/laundry-monitor-hardware/index.md index 0bcb243..6a06cd3 100644 --- a/content/blog/laundry-monitor-hardware/index.md +++ b/content/blog/laundry-monitor-hardware/index.md @@ -1,8 +1,8 @@ --- title: "Laundry Monitor - Hardware" date: "2018-03-29" -categories: - - "code" +tags: + - "Code" --- The next project up is [LaundryMonitor](https://github.com/ckaczor/LaundryMonitor) which uses the most hardware of anything I've done so far. diff --git a/content/blog/laundry-monitor-software/index.md b/content/blog/laundry-monitor-software/index.md index 04067ef..e29e9bc 100644 --- a/content/blog/laundry-monitor-software/index.md +++ b/content/blog/laundry-monitor-software/index.md @@ -1,9 +1,9 @@ --- title: "Laundry Monitor – Software" date: "2018-04-02" -categories: - - "code" - - "floating-status-window" +tags: + - "Code" + - "Floating Status Window" --- The software side of [LaundryMonitor](https://github.com/ckaczor/LaundryMonitor) is currently pretty straightforward. The [C.H.I.P.](https://getchip.com/pages/chip) runs a Node.js application that keeps track of a GPIO pin for each current switch - when the switch is closed the appliance is on and when the switch is open the appliance is off. The application exposes a websocket that applications like [HomeStatusWindow](https://github.com/ckaczor/HomeStatusWindow) can watch and messages are sent to a family Telegram channel. diff --git a/content/blog/system-temperature-status-window/index.md b/content/blog/system-temperature-status-window/index.md index 8eb491d..37bdaf1 100644 --- a/content/blog/system-temperature-status-window/index.md +++ b/content/blog/system-temperature-status-window/index.md @@ -1,9 +1,9 @@ --- title: "System Temperature Status Window" date: "2018-03-19" -categories: - - "code" - - "floating-status-window" +tags: + - "Code" + - "Floating Status Window" --- Next up in the "floating status window" category is [SystemTemperatureStatusWindow](https://github.com/ckaczor/SystemTemperatureStatusWindow). This one does exactly what it says on the tin - it shows various system temperature values. diff --git a/content/blog/weather-station/index.md b/content/blog/weather-station/index.md index f9ae615..49cedd6 100644 --- a/content/blog/weather-station/index.md +++ b/content/blog/weather-station/index.md @@ -1,9 +1,9 @@ --- title: "Weather Station" date: "2018-02-17" -categories: - - "code" - - "weather" +tags: + - "Code" + - "Weather" --- One of the oldest projects I'm still working on today is my weather station. I had always wanted a weather station but it seemed boring to just install something on the roof, stick an LCD display on the wall somewhere, and then forget about it - I wanted something I could build, expand on, and write my own software for. diff --git a/content/blog/work-indicator/index.md b/content/blog/work-indicator/index.md index e224dae..b6f6bfd 100644 --- a/content/blog/work-indicator/index.md +++ b/content/blog/work-indicator/index.md @@ -1,8 +1,8 @@ --- title: "Work Indicator" date: "2018-03-19" -categories: - - "code" +tags: + - "Code" --- I'm going to take a break from status windows for a little bit to cover my [WorkIndicator](https://github.com/ckaczor/WorkIndicator) project. diff --git a/eleventy.config.js b/eleventy.config.js index 76ad140..886fa37 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -103,23 +103,6 @@ export default async function(eleventyConfig) { return (new Date()).toISOString(); }); - // Categories - eleventyConfig.addCollection('categoryList', collection => { - let catSet = {}; - collection.getAll().forEach(item => { - if (!item.data.categories) return; - item.data.categories.filter( - cat => !['posts', 'all'].includes(cat) - ).forEach( - cat => { - if (!catSet[cat]) { catSet[cat] = []; } - catSet[cat].push(item) - } - ); - }); - return catSet; - }); - // Features to make your build faster (when you need them) // If your passthrough copy gets heavy and cumbersome, add this line