diff --git a/assets/pics/pic-blog.avif b/assets/pics/pic-blog.avif new file mode 100644 index 0000000..da64794 Binary files /dev/null and b/assets/pics/pic-blog.avif differ diff --git a/assets/pics/pic-blog.jpg b/assets/pics/pic-blog.jpg new file mode 100644 index 0000000..c7832c4 Binary files /dev/null and b/assets/pics/pic-blog.jpg differ diff --git a/assets/pics/pic-blog.webp b/assets/pics/pic-blog.webp deleted file mode 100644 index c56ebbe..0000000 Binary files a/assets/pics/pic-blog.webp and /dev/null differ diff --git a/assets/pics/pic-contact.avif b/assets/pics/pic-contact.avif new file mode 100644 index 0000000..ae15746 Binary files /dev/null and b/assets/pics/pic-contact.avif differ diff --git a/assets/pics/pic-contact.jpg b/assets/pics/pic-contact.jpg new file mode 100644 index 0000000..3c08af3 Binary files /dev/null and b/assets/pics/pic-contact.jpg differ diff --git a/assets/pics/pic-downloads.png b/assets/pics/pic-downloads.png deleted file mode 100644 index e9576fb..0000000 Binary files a/assets/pics/pic-downloads.png and /dev/null differ diff --git a/assets/pics/pic-gallery.avif b/assets/pics/pic-gallery.avif new file mode 100644 index 0000000..1e284c8 Binary files /dev/null and b/assets/pics/pic-gallery.avif differ diff --git a/assets/pics/pic-gallery.jpg b/assets/pics/pic-gallery.jpg new file mode 100644 index 0000000..93f9cee Binary files /dev/null and b/assets/pics/pic-gallery.jpg differ diff --git a/assets/pics/pic-gallery.png b/assets/pics/pic-gallery.png deleted file mode 100644 index c4ebfbc..0000000 Binary files a/assets/pics/pic-gallery.png and /dev/null differ diff --git a/assets/pics/pic-guestbook.avif b/assets/pics/pic-guestbook.avif new file mode 100644 index 0000000..67a3b58 Binary files /dev/null and b/assets/pics/pic-guestbook.avif differ diff --git a/assets/pics/pic-guestbook.jpg b/assets/pics/pic-guestbook.jpg new file mode 100644 index 0000000..e7208c7 Binary files /dev/null and b/assets/pics/pic-guestbook.jpg differ diff --git a/assets/pics/pic-guestbook.webp b/assets/pics/pic-guestbook.webp deleted file mode 100644 index 716aab9..0000000 Binary files a/assets/pics/pic-guestbook.webp and /dev/null differ diff --git a/assets/pics/pic-home.avif b/assets/pics/pic-home.avif new file mode 100644 index 0000000..10e90d2 Binary files /dev/null and b/assets/pics/pic-home.avif differ diff --git a/assets/pics/pic-home.jpg b/assets/pics/pic-home.jpg new file mode 100644 index 0000000..3118b29 Binary files /dev/null and b/assets/pics/pic-home.jpg differ diff --git a/assets/pics/pic-home.webp b/assets/pics/pic-home.webp deleted file mode 100644 index 6c879bf..0000000 Binary files a/assets/pics/pic-home.webp and /dev/null differ diff --git a/assets/pics/pic-links.avif b/assets/pics/pic-links.avif new file mode 100644 index 0000000..c7412bf Binary files /dev/null and b/assets/pics/pic-links.avif differ diff --git a/assets/pics/pic-links.jpg b/assets/pics/pic-links.jpg new file mode 100644 index 0000000..67bcafc Binary files /dev/null and b/assets/pics/pic-links.jpg differ diff --git a/assets/pics/pic-links.webp b/assets/pics/pic-links.webp deleted file mode 100644 index 9168100..0000000 Binary files a/assets/pics/pic-links.webp and /dev/null differ diff --git a/assets/pics/pic-music.avif b/assets/pics/pic-music.avif new file mode 100644 index 0000000..132bfd0 Binary files /dev/null and b/assets/pics/pic-music.avif differ diff --git a/assets/pics/pic-music.jpg b/assets/pics/pic-music.jpg new file mode 100644 index 0000000..e55be39 Binary files /dev/null and b/assets/pics/pic-music.jpg differ diff --git a/assets/pics/pic-software.avif b/assets/pics/pic-software.avif new file mode 100644 index 0000000..3b062da Binary files /dev/null and b/assets/pics/pic-software.avif differ diff --git a/assets/pics/pic-software.jpg b/assets/pics/pic-software.jpg new file mode 100644 index 0000000..109d797 Binary files /dev/null and b/assets/pics/pic-software.jpg differ diff --git a/assets/pics/pic-software.webp b/assets/pics/pic-software.webp deleted file mode 100644 index c5df7fe..0000000 Binary files a/assets/pics/pic-software.webp and /dev/null differ diff --git a/assets/pics/pic-talks.avif b/assets/pics/pic-talks.avif new file mode 100644 index 0000000..8a7d751 Binary files /dev/null and b/assets/pics/pic-talks.avif differ diff --git a/assets/pics/pic-talks.jpg b/assets/pics/pic-talks.jpg new file mode 100644 index 0000000..0c80221 Binary files /dev/null and b/assets/pics/pic-talks.jpg differ diff --git a/assets/pics/profile.avif b/assets/pics/profile.avif new file mode 100644 index 0000000..ffa7794 Binary files /dev/null and b/assets/pics/profile.avif differ diff --git a/assets/pics/profile.jpg b/assets/pics/profile.jpg new file mode 100644 index 0000000..edb25a4 Binary files /dev/null and b/assets/pics/profile.jpg differ diff --git a/content/_index.md b/content/_index.md index 3bf41f8..b221a39 100644 --- a/content/_index.md +++ b/content/_index.md @@ -2,7 +2,7 @@ title: "Home" --- -{{< insert-pic "pic-home.webp" "Drawing of a landscape bathed in sunlight. There's a small cottage in the middle of green hills." >}} +{{< insert-pic "pic-home.jpg" "Drawing of a landscape bathed in sunlight. There's a small cottage in the middle of green hills." >}} Welcome to my personal corner of the Internet! My username is **redstrate** and I'm a software engineer, KDE developer and artist. I like Linux, taking apart stuff, and also taking care of my website. This place functions as both my portfolio and dumping ground for the things I like to work on. diff --git a/content/about.md b/content/about.md index 075ac5d..5da7135 100644 --- a/content/about.md +++ b/content/about.md @@ -2,7 +2,7 @@ title: "About" --- -{{< profile-picture >}} +{{< insert-pic "profile.jpg" "Guestbook" >}} I'm known online as **redstrate**, and I create things to fill my own niche. I program, draw, and occasionally make bad music and edit videos. I'm a contributor to open source projects, and also a [KDE](https://kde.org) developer and [KDE e.V.](https://ev.kde.org) member. In my free time, I like to cook and study languages (real world and programming ones!) Of course, also play way too many video games! diff --git a/content/blog/_index.md b/content/blog/_index.md index cfab7d4..dbbc8e6 100644 --- a/content/blog/_index.md +++ b/content/blog/_index.md @@ -5,7 +5,7 @@ aliases: - /notes --- -{{< insert-pic "pic-blog.webp" "Drawing of a grocery list with the words Linux and Review and KDE written." >}} +{{< insert-pic "pic-blog.jpg" "Drawing of a grocery list with the words Linux and Review and KDE written." >}} Rambles and writings usually consisting of [Linux](/blog/tags/linux/), [KDE](/blog/tags/kde), personal thoughts and [reviews](/blog/tags/review/). diff --git a/content/contact.md b/content/contact.md index 121bdf8..97fe6b8 100644 --- a/content/contact.md +++ b/content/contact.md @@ -2,6 +2,8 @@ title: "Contact" --- +{{< insert-pic "pic-contact.jpg" "3D rendering of mail flying through the void." >}} + The easiest and fastest way to contact me for personal matters is e-mail me via josh@redstrate.com. Other services that support direct messaging: diff --git a/content/guestbook.md b/content/guestbook.md index 30e1f72..cdc536f 100644 --- a/content/guestbook.md +++ b/content/guestbook.md @@ -2,7 +2,7 @@ title: "Guestbook" --- -{{< insert-pic "pic-guestbook.webp" "Guestbook" >}} +{{< insert-pic "pic-guestbook.jpg" "Guestbook" >}} If you're passing through my website, sign my guestbook below! I would really appreciate it. Name and other contact details are optional, so you can stay anonymous. diff --git a/content/links.md b/content/links.md index e05d9ca..0c6e459 100644 --- a/content/links.md +++ b/content/links.md @@ -2,7 +2,7 @@ title: "Links" --- -{{< insert-pic "pic-links.webp" >}} +{{< insert-pic "pic-links.jpg" >}} Here's some cool like-minded people, websites and communities you should check out! diff --git a/content/talks.md b/content/talks.md index b02a191..928a721 100644 --- a/content/talks.md +++ b/content/talks.md @@ -2,6 +2,8 @@ title: "Talks" --- +{{< insert-pic "pic-talks.jpg" "Drawing of a sad laptop and a microphone." >}} + Here is a list of the talks I've given so far: * [C++, Rust and Qt: Easier than you think](https://conf.kde.org/event/6/contributions/203/), Akademy 2024 ([PeerTube](https://tube.kockatoo.org/w/bdDAWwGXRyWmyVBn9mdbnP), [Slides](https://conf.kde.org/event/6/contributions/203/attachments/133/169/akademy-2024-qt-rust.pdf)) diff --git a/data/recent-changes.json b/data/recent-changes.json index 5f56f84..b2ce30e 100644 --- a/data/recent-changes.json +++ b/data/recent-changes.json @@ -1,5 +1,6 @@ { "changes": [ + "2025-01-03: Added missing pictures for pages like Music and Contact.", "2024-10-17: Overhauled the gallery again.", "2024-05-19: Fixed the broken art RSS feed, again!", "2024-02-19: Further site improvements, started a FFXIV shrine.", diff --git a/themes/red/layouts/_default/art.html b/themes/red/layouts/_default/art.html index 86a2f7e..50f0350 100644 --- a/themes/red/layouts/_default/art.html +++ b/themes/red/layouts/_default/art.html @@ -9,8 +9,14 @@ {{ .Content }} - {{ with resources.Get "pics/pic-gallery.png" }} + {{ with resources.Get "pics/pic-gallery.jpg" }} + + {{ $avif_path := replace . ".jpg" ".avif "}} + {{ with resources.Get (strings.TrimSpace $avif_path) }} + + {{ end }} Drawing of an art gallery with several people standing around a piece hanging on the wall. + {{ end }} diff --git a/themes/red/layouts/_default/audio-gallery.html b/themes/red/layouts/_default/audio-gallery.html index ea1033b..fef563f 100644 --- a/themes/red/layouts/_default/audio-gallery.html +++ b/themes/red/layouts/_default/audio-gallery.html @@ -5,6 +5,16 @@
+ {{ with resources.Get "pics/pic-music.jpg" }} + + {{ $avif_path := replace . ".jpg" ".avif "}} + {{ with resources.Get (strings.TrimSpace $avif_path) }} + + {{ end }} + Drawing of an art gallery with several people standing around a piece hanging on the wall. + + {{ end }} + {{ .Content }} {{ $art := (index site.Data ($.Param "json")) }} diff --git a/themes/red/layouts/_default/software.html b/themes/red/layouts/_default/software.html index aef2e43..96b457d 100644 --- a/themes/red/layouts/_default/software.html +++ b/themes/red/layouts/_default/software.html @@ -2,8 +2,14 @@

{{ .Title }}


- {{ with resources.Get "pics/pic-software.webp" }} + {{ with resources.Get "pics/pic-software.jpg" }} + + {{ $avif_path := replace . ".jpg" ".avif "}} + {{ with resources.Get (strings.TrimSpace $avif_path) }} + + {{ end }} Software + {{ end }} {{ .Content }} diff --git a/themes/red/layouts/shortcodes/insert-pic.html b/themes/red/layouts/shortcodes/insert-pic.html index e73ee6c..dd9f814 100644 --- a/themes/red/layouts/shortcodes/insert-pic.html +++ b/themes/red/layouts/shortcodes/insert-pic.html @@ -4,5 +4,11 @@ {{ $path := printf "pics/%s" $name}} {{ with resources.Get $path }} -{{ $alt }} + +{{ $avif_path := replace . ".jpg" ".avif "}} +{{ with resources.Get (strings.TrimSpace $avif_path) }} + +{{ end }} +{{ $alt }} + {{ end }}