From 6db89f409f536897ca18590392f65b4e5ce29281 Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Thu, 2 Jan 2025 21:01:20 +0100 Subject: [PATCH] add digital garden section --- .woodpecker.yml | 2 +- config.toml | 13 ++++++++++++- content/dev/alex/devlog-1/index.md | 1 + content/garden/_index.md | 6 ++++++ content/garden/digital-garden.md | 18 ++++++++++++++++++ themes/rb/layouts/_default/li.html | 2 +- themes/rb/layouts/_default/section.html | 9 +++++++++ 7 files changed, 48 insertions(+), 3 deletions(-) create mode 100644 content/garden/_index.md create mode 100644 content/garden/digital-garden.md create mode 100644 themes/rb/layouts/_default/section.html diff --git a/.woodpecker.yml b/.woodpecker.yml index 87d1a51..6ce20f7 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -13,4 +13,4 @@ pipeline: secrets: - 'api_key' commands: - - 'curl -XPOST --fail -s -H "Authorization: Bearer $API_KEY" -T public.tar.gz https://rustybever.be/api/deploy' + - 'curl -XPOST --fail -s -H "Authorization: Bearer $API_KEY" -T public.tar.gz https://rustybever.be/_root' diff --git a/config.toml b/config.toml index d386bf4..bf4ce3f 100644 --- a/config.toml +++ b/config.toml @@ -6,9 +6,13 @@ enableInlineShortcodes = true pygmentsCodeFences = true pygmentsUseClasses = true +[taxonomies] +project = "projects" +tag = "tags" + [params] description = "The Rusty Bever" - copyright = "Copyright © 2024 Jef Roosens" + copyright = "Copyright © 2025 Jef Roosens" dark = "auto" highlight = true @@ -27,6 +31,13 @@ pygmentsUseClasses = true url = "/dev/" weight = 10 + [[menu.main]] + identifier = "garden" + name = "garden" + title = "garden" + url = "/garden/" + weight = 20 + [[menu.main]] identifier = "about" name = "about" diff --git a/content/dev/alex/devlog-1/index.md b/content/dev/alex/devlog-1/index.md index f73aa32..7968f9a 100644 --- a/content/dev/alex/devlog-1/index.md +++ b/content/dev/alex/devlog-1/index.md @@ -1,6 +1,7 @@ --- title: "Automating Minecraft Server Backups" date: 2023-09-07 +tags: [minecraft, rust, backups] --- I started playing Minecraft back in 2012, after the release of version 1.2.5. diff --git a/content/garden/_index.md b/content/garden/_index.md new file mode 100644 index 0000000..8f14dfb --- /dev/null +++ b/content/garden/_index.md @@ -0,0 +1,6 @@ +--- +title: "Digital Garden" +--- + +This section is meant to be a digital garden of sorts where I can write down +thoughts without the pressure of a full-on blug post. diff --git a/content/garden/digital-garden.md b/content/garden/digital-garden.md new file mode 100644 index 0000000..3b54406 --- /dev/null +++ b/content/garden/digital-garden.md @@ -0,0 +1,18 @@ +--- +title: "Digital Garden" +date: 2025-01-02T20:54:30+01:00 +draft: true +--- + +We're trying something new for 2025. I've been wanting to write more, but most +of the ideas I had weren't "good enough" (according to me) or I got stuck +trying to perfect whatever it was I wanted to write about. This caused me to +never write anything past June. + +I want to change that by setting up a digital garden of sorts. The idea is to +add a zero-pressure section to my site where I can write less polished and +shorter articles about anything. I like writing on this site, but I've gotten +stuck in trying to perfect everything, so I'm hoping this section can remedy +that. + +Hopefully this is one of many articles to come! diff --git a/themes/rb/layouts/_default/li.html b/themes/rb/layouts/_default/li.html index f418cb9..190260f 100644 --- a/themes/rb/layouts/_default/li.html +++ b/themes/rb/layouts/_default/li.html @@ -1,5 +1,5 @@
  • - + {{ .Title }} diff --git a/themes/rb/layouts/_default/section.html b/themes/rb/layouts/_default/section.html new file mode 100644 index 0000000..9a03772 --- /dev/null +++ b/themes/rb/layouts/_default/section.html @@ -0,0 +1,9 @@ +{{ define "main" }} +{{ .Content }} +

    {{ i18n "posts.title" }}

    + +{{ end }}