From b9f133d5973b700cf4b10a3f751d87c32798fd21 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Fri, 3 Jan 2025 17:02:37 -0500 Subject: [PATCH] Clean up more unused shortcodes --- content/blog/ffxiv-dec2023/index.md | 2 - content/blog/ffxiv-oct2023/index.md | 2 - content/blog/ffxiv-sept2023/index.md | 2 - content/blog/kde-april2023/index.md | 2 - content/blog/kde-april2024/index.md | 2 - content/blog/kde-aug2023/index.md | 2 - content/blog/kde-dec2023/index.md | 2 - content/blog/kde-feb2023/index.md | 2 - content/blog/kde-feb2024/index.md | 2 - content/blog/kde-jan2023/index.md | 2 - content/blog/kde-jan2024/index.md | 3 - content/blog/kde-july2023/index.md | 2 - content/blog/kde-july2024/index.md | 2 - content/blog/kde-june2023/index.md | 2 - content/blog/kde-june2024/index.md | 3 - content/blog/kde-march2023/index.md | 2 - content/blog/kde-march2024/index.md | 2 - content/blog/kde-may2023/index.md | 2 - content/blog/kde-nov2023/index.md | 2 - content/blog/kde-oct2023/index.md | 2 - content/blog/kde-oct2024/index.md | 2 - content/blog/kde-sept2023/index.md | 2 - content/software/_index.md | 2 - themes/red/layouts/_default/single.html | 58 +++++++++++++++++++ themes/red/layouts/_default/software.html | 4 ++ .../layouts/shortcodes/profile-picture.html | 3 - .../red/layouts/shortcodes/proj-featured.html | 3 - themes/red/layouts/shortcodes/series-nav.html | 20 ------- themes/red/layouts/shortcodes/video.html | 3 - 29 files changed, 62 insertions(+), 77 deletions(-) delete mode 100644 themes/red/layouts/shortcodes/profile-picture.html delete mode 100644 themes/red/layouts/shortcodes/proj-featured.html delete mode 100644 themes/red/layouts/shortcodes/series-nav.html delete mode 100644 themes/red/layouts/shortcodes/video.html diff --git a/content/blog/ffxiv-dec2023/index.md b/content/blog/ffxiv-dec2023/index.md index ed5f735..e2220fd 100644 --- a/content/blog/ffxiv-dec2023/index.md +++ b/content/blog/ffxiv-dec2023/index.md @@ -67,5 +67,3 @@ See you in the next status update! [^2]: You're not supposed to, because it requires you to explicitly agree to a Steamworks Developer agreement. There's no public downloads for the SDK either, of course. This doesn't stop Valve from intentionally/unintentionally [shipping parts of the SDK in Proton, I guess](https://github.com/ValveSoftware/Proton/tree/proton_8.0/lsteamclient). -{{< series-nav "ffxiv-oct2023" >}} - diff --git a/content/blog/ffxiv-oct2023/index.md b/content/blog/ffxiv-oct2023/index.md index 01eab52..9b1be16 100644 --- a/content/blog/ffxiv-oct2023/index.md +++ b/content/blog/ffxiv-oct2023/index.md @@ -121,5 +121,3 @@ I overhauled [the documentation site](https://docs.xiv.zone) again, this time wi I also have begun [reverse engineering the current Square Enix login system](https://github.com/redstrate/kawari) which is currently used for testing Astra without hammering the official servers. Do note that I don't plan on extending the project much further than that. -{{< series-nav "ffxiv-sept2023" "ffxiv-dec2023" >}} - diff --git a/content/blog/ffxiv-sept2023/index.md b/content/blog/ffxiv-sept2023/index.md index 1649317..ff7f33c 100644 --- a/content/blog/ffxiv-sept2023/index.md +++ b/content/blog/ffxiv-sept2023/index.md @@ -83,5 +83,3 @@ I recently had some trouble attempting to decompile the DX11 DXBC shader bytecod {{< stoot "mastodon.art" "111110339774483271" >}} So I took the time to splice together a new library called [dxbc](https://github.com/redstrate/dxbc) (yes, I know very creative name!) It's the DXBC decompiler used in DXVK, usable in library form. I plan on integrating this with Novus soon, so it can load the shader files from the game. - -{{< series-nav "" "ffxiv-oct2023" >}} diff --git a/content/blog/kde-april2023/index.md b/content/blog/kde-april2023/index.md index abff91e..c6760f1 100644 --- a/content/blog/kde-april2023/index.md +++ b/content/blog/kde-april2023/index.md @@ -86,5 +86,3 @@ There doesn't appear to be an active maintainer, so I'll get another reviewer an ![New page thumbnail in Kirigami Gallery](new-page.webp) {{< add "bugfix" >}} I'm still looking for people who might know why [PlaceholderMessage fails handling overflow, which creates some recursive rearranges](https://invent.kde.org/frameworks/kirigami/-/merge_requests/1034). It might be a Qt upstream issue, so it's another thing to investigate soon! - -{{< series-nav "kde-march2023" "kde-may2023" >}} diff --git a/content/blog/kde-april2024/index.md b/content/blog/kde-april2024/index.md index 55c3228..31d3517 100644 --- a/content/blog/kde-april2024/index.md +++ b/content/blog/kde-april2024/index.md @@ -98,5 +98,3 @@ I once again sat down and fixed a ton of build and runtime issues for our Androi That's all this month! -{{< series-nav "kde-feb2024" "kde-june2024" >}} - diff --git a/content/blog/kde-aug2023/index.md b/content/blog/kde-aug2023/index.md index 18d7937..3015f69 100644 --- a/content/blog/kde-aug2023/index.md +++ b/content/blog/kde-aug2023/index.md @@ -177,5 +177,3 @@ Thanks to everyone who helped review and push these along! For Akkoma users, [I contributed limited support for the Mastodon Preferences API](https://akkoma.dev/AkkomaGang/akkoma/pulls/625)! This is useful for Tokodon and other clients. I fixed a [qmlformat bug that added an extra space after target bindings](https://codereview.qt-project.org/c/qt/qtdeclarative/+/494976). I hinted at what else we need to work on before qmlformat can be adopted in KDE [here](https://invent.kde.org/teams/automation/issues/-/issues/7#note_743345). - -{{< series-nav "kde-july2023" "kde-sept2023" >}} diff --git a/content/blog/kde-dec2023/index.md b/content/blog/kde-dec2023/index.md index 4c4298b..791d37c 100644 --- a/content/blog/kde-dec2023/index.md +++ b/content/blog/kde-dec2023/index.md @@ -55,5 +55,3 @@ I also went around and fixed up a bunch of other mobile applications with Androi [Nagged for a new QtKeychain release](https://github.com/frankosterfeld/qtkeychain/issues/244) due to a critical bug that would cause applications to never open KWallet5. Please also nag your distributions to package 0.14.2 soon! Anything using QtKeychain 0.14.1 or below won't work in Plasma 6. This doesn't affect people in the dev session, because QtKeychain should be built from git. Helping the Gentoo KDE Team with packaging Plasma 6 and KDE Gear 6. I managed to update my desktop to Plasma 6 and submitted fixes to get it closer to working. I also added [Arianna](https://github.com/gentoo/kde/pull/954), [PlasmaTube](https://github.com/gentoo/kde/pull/952) and [MpvQt](https://github.com/gentoo/kde/pull/945) packages. - -{{< series-nav "kde-nov2023" "kde-jan2024" >}} diff --git a/content/blog/kde-feb2023/index.md b/content/blog/kde-feb2023/index.md index 9054039..03703b7 100644 --- a/content/blog/kde-feb2023/index.md +++ b/content/blog/kde-feb2023/index.md @@ -150,8 +150,6 @@ This is something that's been sitting on my backlog, but I'm super annoyed about See the [merge request](https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2659). -{{< series-nav "kde-jan2023" "kde-march2023" >}} - [^1]: If you're looking for a way to configure the default posting language, it's unfortunately not exposed in the Mastodon API yet, including some other preferences. Since the issue hasn't moved much, I want to look into another way to easily access those settings. [^2]: Ivan looked into this issue recently and is fixing the issue on the Flatpak KCM end, so my fix may not be needed after all. diff --git a/content/blog/kde-feb2024/index.md b/content/blog/kde-feb2024/index.md index 02d065f..e5de762 100644 --- a/content/blog/kde-feb2024/index.md +++ b/content/blog/kde-feb2024/index.md @@ -47,5 +47,3 @@ For a while now, people have been asking about funding work on important Wayland {{< add "bugfix" >}} Add the [missing and new Breeze icons dependency to kiconthemes](https://invent.kde.org/frameworks/kiconthemes/-/merge_requests/121). {{< release "6.1" >}} -{{< series-nav "kde-jan2024" "kde-march2024" >}} - diff --git a/content/blog/kde-jan2023/index.md b/content/blog/kde-jan2023/index.md index 364e85f..4a5c5cc 100644 --- a/content/blog/kde-jan2023/index.md +++ b/content/blog/kde-jan2023/index.md @@ -71,5 +71,3 @@ I made some misc changes to the Community Wiki this month, mostly centered aroun {{< add "feature" >}} This isn't merged yet (but it's close!) so it barely misses the mark for January, but I'll include it anyway. I'm working on making the Window Decoration KCM frameless and give it a new look that matches the other KCMs. See the [merge request](https://invent.kde.org/plasma/kwin/-/merge_requests/3524). ![New Window Decoration KCM](kcm_window.webp) - -{{< series-nav "/" "kde-feb2023" >}} diff --git a/content/blog/kde-jan2024/index.md b/content/blog/kde-jan2024/index.md index 95e4f7b..882fb10 100644 --- a/content/blog/kde-jan2024/index.md +++ b/content/blog/kde-jan2024/index.md @@ -113,6 +113,3 @@ I spent some time trying to put in some small improvements to our [Human Interfa * Rebased and integrated lots of fixes that were stalling due to lack of an author around to rebase. I hope to see you next month with more KDE stuff! - -{{< series-nav "kde-dec2023" "kde-feb2024" >}} - diff --git a/content/blog/kde-july2023/index.md b/content/blog/kde-july2023/index.md index 0f2beae..7c96b73 100644 --- a/content/blog/kde-july2023/index.md +++ b/content/blog/kde-july2023/index.md @@ -73,5 +73,3 @@ On Thursday, I attended Carl's Accessibility BoF. I learned how to use [Accercis It was nice meeting everyone at Akademy, I wish I came sooner because I didn't have the chance to talk to some people. See you next month! - -{{< series-nav "kde-june2023" "kde-aug2023" >}} diff --git a/content/blog/kde-july2024/index.md b/content/blog/kde-july2024/index.md index 63e5061..74c6aff 100644 --- a/content/blog/kde-july2024/index.md +++ b/content/blog/kde-july2024/index.md @@ -89,5 +89,3 @@ This is a very exciting month if you're waiting for more artist-oriented improve --- That's all for this month! - -{{< series-nav "kde-june2024" "kde-oct2024" >}} diff --git a/content/blog/kde-june2023/index.md b/content/blog/kde-june2023/index.md index 9532ff8..b07c10b 100644 --- a/content/blog/kde-june2023/index.md +++ b/content/blog/kde-june2023/index.md @@ -125,5 +125,3 @@ I'm also working on sharing _through_ Tokodon! It still needs some work. My curr See you next month! -{{< series-nav "kde-may2023" "kde-july2023" >}} - diff --git a/content/blog/kde-june2024/index.md b/content/blog/kde-june2024/index.md index fed3ec1..c02c9f1 100644 --- a/content/blog/kde-june2024/index.md +++ b/content/blog/kde-june2024/index.md @@ -83,6 +83,3 @@ I do plan on expanding ktabletconfig's features, as the Wayland session continue {{< add "bugfix" >}} Fixed [keyboard navigation for Kirigami Add-on's FormComboBoxDelegate](https://invent.kde.org/libraries/kirigami-addons/-/merge_requests/248), which improves keyboard navigation in lots of Kirigami applications! {{< release "1.3.0" >}} I updated the [Plasma Desktop README](https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2299) in line with the other README things I did this year! - -{{< series-nav "kde-april2024" "kde-july2024" >}} - diff --git a/content/blog/kde-march2023/index.md b/content/blog/kde-march2023/index.md index d9a6801..d29b6b1 100644 --- a/content/blog/kde-march2023/index.md +++ b/content/blog/kde-march2023/index.md @@ -114,5 +114,3 @@ And of course, there are of course many bugfixes: * {{< add "feature" >}} Added a [unit test to Kalendar](https://invent.kde.org/pim/kalendar/-/merge_requests/325). [^1]: Doxygen doesn't support QML natively, so doxyqml is a plugin to help generate doxygen pages for QML types. - -{{< series-nav "kde-feb2023" "kde-april2023 ">}} diff --git a/content/blog/kde-march2024/index.md b/content/blog/kde-march2024/index.md index c869df9..4283a69 100644 --- a/content/blog/kde-march2024/index.md +++ b/content/blog/kde-march2024/index.md @@ -83,5 +83,3 @@ Clarify that the default alignment for Kirigami's ActionToolbar is [AlignLeft, n --- That's all for this month! - -{{< series-nav "kde-feb2024" "kde-april2024" >}} diff --git a/content/blog/kde-may2023/index.md b/content/blog/kde-may2023/index.md index bca92b9..fbb7eef 100644 --- a/content/blog/kde-may2023/index.md +++ b/content/blog/kde-may2023/index.md @@ -132,5 +132,3 @@ I'm also attending [Akademy](https://akademy.kde.org/) this year in Thessaloniki {{< stoot "mastodon.art" "110391772254719472" >}} I booked my accommodations last week, so I'm excited to see everyone in-person in July! This is my first time traveling outside of the North American continent, and to Europe no less. I'll be documenting my experience traveling and at Akademy, but I'm not sure what format it'll be in yet. - -{{< series-nav "kde-april2023" "kde-june2023" >}} diff --git a/content/blog/kde-nov2023/index.md b/content/blog/kde-nov2023/index.md index 0affe0b..a8ef5d0 100644 --- a/content/blog/kde-nov2023/index.md +++ b/content/blog/kde-nov2023/index.md @@ -140,5 +140,3 @@ Found lots more missing Bugzilla links in Invent, and did some more README updat ![The new calibrator](calibrator.webp) See you in December! - -{{< series-nav "kde-oct2023" "kde-dec2023" >}} diff --git a/content/blog/kde-oct2023/index.md b/content/blog/kde-oct2023/index.md index cf0298a..31c470e 100644 --- a/content/blog/kde-oct2023/index.md +++ b/content/blog/kde-oct2023/index.md @@ -134,5 +134,3 @@ I did a _ton_ of work improving PlasmaTube this month. If you haven't been using {{< add "bugfix" >}} Prevent [a crash when calculating initials in names that _only_ have parenthesis](https://invent.kde.org/libraries/kirigami-addons/-/merge_requests/183), such as "(gobble)". This affects the new Avatar component. {{< release "0.12" >}} See you next month! - -{{< series-nav "kde-sept2023" "kde-nov2023" >}} diff --git a/content/blog/kde-oct2024/index.md b/content/blog/kde-oct2024/index.md index dfd41b8..911dc16 100644 --- a/content/blog/kde-oct2024/index.md +++ b/content/blog/kde-oct2024/index.md @@ -186,5 +186,3 @@ I also attended Akademy this year! You can read [more about it in it's dedicated It's [been almost a year]({{< ref "kde-jan2023" >}}) since I started this series, and I can't believe I've done almost a dozen of these. People seem to really like them, and I'm really appreciative of that! Like I said in the beginning, there will most likely not be a next part as it will be rolled into someone else's blog posts now. If you want a hint as to what I'll be about blogging next, you might want [to remember where this all began]({{< ref "fixing-22r" >}}). - -{{< series-nav "kde-july2024" "" >}} diff --git a/content/blog/kde-sept2023/index.md b/content/blog/kde-sept2023/index.md index d2426b2..c031fb7 100644 --- a/content/blog/kde-sept2023/index.md +++ b/content/blog/kde-sept2023/index.md @@ -136,5 +136,3 @@ If you use spaces to delineate groups of import statements, [qmlformat should no And two more small things: [fixing the command line arguments not overriding anything](https://codereview.qt-project.org/c/qt/qtdeclarative/+/502966?usp=dashboard) and [fixing the QML coding conventions documentation](https://codereview.qt-project.org/c/qt/qtdoc/+/502965?usp=dashboard). -{{< series-nav "kde-aug2023" "kde-oct2023" >}} - diff --git a/content/software/_index.md b/content/software/_index.md index 08f6c3a..45c722b 100644 --- a/content/software/_index.md +++ b/content/software/_index.md @@ -10,5 +10,3 @@ During the day I like to program, and at night I... also like to program. If you I like working with Qt, C++ but also branching out into Rust and tiny bits of web development (like this website). My primary operating system is Linux, so making sure things build and run across different operating systems is an interesting challenge. I love working with graphics APIs, like Vulkan and OpenGL. - -{{< proj-featured >}} diff --git a/themes/red/layouts/_default/single.html b/themes/red/layouts/_default/single.html index eae0b23..6a8b55f 100644 --- a/themes/red/layouts/_default/single.html +++ b/themes/red/layouts/_default/single.html @@ -24,6 +24,64 @@ {{ .Content }} + {{ $series_name := "" }} + {{ with .Page.GetTerms "series" }} + {{ range . }} + {{ $series_name = (string .Title) }} + {{ end }} + {{ end }} + + {{ with $series_name }} + {{ $series_pages := slice }} + {{ range $name, $pages := $.Site.Taxonomies.series }} + {{ if eq (lower $series_name) $name }} + {{ $series_pages = $pages }} + {{ end }} + {{ end }} + + + {{ $prev := "" }} + {{ $next := "" }} + + {{ range (sort $series_pages "Date" "desc") }} + {{ if gt $.Date.Unix .Date.Unix }} + {{ $prev = .Path }} + {{ break }} + {{ end }} + {{ end }} + + {{ range (sort $series_pages "Date" "asc") }} + {{ if lt $.Date.Unix .Date.Unix }} + {{ $next = .Path }} + {{ break }} + {{ end }} + {{ end }} + +
+ {{ if $prev }} + {{ with $.Page.GetPage $prev }} + {{ .Title }} + {{ end }} + {{ else }} + End + {{ end }} + + {{ with $.Page.GetTerms "series" }} + {{ range . }} + {{ .Title }}

+ {{ end }} + {{ end }} + + {{ if $next }} + {{ with $.Page.GetPage $next }} +
{{ .Title }} + {{ end }} + {{ else }} + End + {{ end }} +
+ {{ end }} + {{ if in .File.Dir "blog" }} {{ partial "voting" . }} diff --git a/themes/red/layouts/_default/software.html b/themes/red/layouts/_default/software.html index 96b457d..4777cf4 100644 --- a/themes/red/layouts/_default/software.html +++ b/themes/red/layouts/_default/software.html @@ -14,6 +14,10 @@ {{ .Content }} +
+ Tags +
+ {{ $contrib := (index site.Data "contributions") }} {{ .Scratch.Set "header-type" "h3" }} diff --git a/themes/red/layouts/shortcodes/profile-picture.html b/themes/red/layouts/shortcodes/profile-picture.html deleted file mode 100644 index b466f74..0000000 --- a/themes/red/layouts/shortcodes/profile-picture.html +++ /dev/null @@ -1,3 +0,0 @@ -{{ with resources.Get .Site.Params.profile_picture }} - Drawing of a catgirl, with blonde hair and dark eyes. -{{ end }} diff --git a/themes/red/layouts/shortcodes/proj-featured.html b/themes/red/layouts/shortcodes/proj-featured.html deleted file mode 100644 index 7cf2457..0000000 --- a/themes/red/layouts/shortcodes/proj-featured.html +++ /dev/null @@ -1,3 +0,0 @@ -
-Tags -
diff --git a/themes/red/layouts/shortcodes/series-nav.html b/themes/red/layouts/shortcodes/series-nav.html deleted file mode 100644 index ffdac31..0000000 --- a/themes/red/layouts/shortcodes/series-nav.html +++ /dev/null @@ -1,20 +0,0 @@ -{{ $prev := .Get 0 }} -{{ $next := .Get 1 }} - -
-{{ with .Page.GetPage $prev }} -{{ .Title }} -{{ end }} - -{{ with .Page.GetTerms "series" }} - -{{ range . }} -

{{ .Title }}

-{{ end }} - -{{ end }} - -{{ with .Page.GetPage $next }} -{{ .Title }} -{{ end }} -
diff --git a/themes/red/layouts/shortcodes/video.html b/themes/red/layouts/shortcodes/video.html deleted file mode 100644 index c02ada0..0000000 --- a/themes/red/layouts/shortcodes/video.html +++ /dev/null @@ -1,3 +0,0 @@ -