diff --git a/content/blog/img/Vulkan-Portability.svg b/content/blog/death-of-gfx/Vulkan-Portability.svg
similarity index 100%
rename from content/blog/img/Vulkan-Portability.svg
rename to content/blog/death-of-gfx/Vulkan-Portability.svg
diff --git a/content/blog/the-death-of-gfx.md b/content/blog/death-of-gfx/index.md
similarity index 91%
rename from content/blog/the-death-of-gfx.md
rename to content/blog/death-of-gfx/index.md
index 162f30f..e9f96b8 100644
--- a/content/blog/the-death-of-gfx.md
+++ b/content/blog/death-of-gfx/index.md
@@ -13,17 +13,17 @@ aliases:
In under an hour, I was able to port my already existing Vulkan code from [Prism](/projects/prism)
to Metal using [MoltenVK](https://github.com/KhronosGroup/MoltenVK). Here's a screenshot (very exciting):
-
+
To clarify, Prism running on macOS is nothing new. In fact, a large portion of the engine was
developed natively on macOS using Metal. Vulkan was actually added after the fact, and since I already had plenty of
Vulkan experience it was no trouble. I initially chose to use Metal natively (over MoltenVK at the time) because the tooling was still too new, and I wanted to learn Metal. However, something big has come along since then, the rise of the [Vulkan Portability Initiative](https://www.vulkan.org/portability)!
-
+
The biggest thing to come out of this is the introduction of _first class macOS support_. If you've used the Vulkan SDK before on macOS, you _must_ give this new version a try. The new Vulkan SDK has an installer that takes cares of everything for you. Even the **Vulkan Configurator works**! This gets you the _same exact experience_ like as if you were developing with Vulkan on Windows or Linux. Yes, even the _Vulkan CMake module works out of the box_, thank you to every developer who worked on this!
-
+
What does this mean for Prism? Not much yet except that it's awesome that it works pretty much of the box. However, for any future graphics endeavours for me, **I unfortunately won't be supporting Metal anymore**, there just isn't a reason to. I learned as much Metal as I wanted, and the Metal backend fulfilled that purpose. However, there's still a purpose to abstracting GFX away in Prism, _to make way for DirectX support_ :-)
diff --git a/content/blog/death-of-gfx/prism-on-mac-vulkan.webp b/content/blog/death-of-gfx/prism-on-mac-vulkan.webp
new file mode 100644
index 0000000..4abd453
Binary files /dev/null and b/content/blog/death-of-gfx/prism-on-mac-vulkan.webp differ
diff --git a/content/blog/death-of-gfx/vkconfig-mac.webp b/content/blog/death-of-gfx/vkconfig-mac.webp
new file mode 100644
index 0000000..7cb632f
Binary files /dev/null and b/content/blog/death-of-gfx/vkconfig-mac.webp differ
diff --git a/content/blog/figure1/figure-review-mari-sega.jpg b/content/blog/figure1/figure-review-mari-sega.jpg
deleted file mode 100644
index f3dc3fd..0000000
Binary files a/content/blog/figure1/figure-review-mari-sega.jpg and /dev/null differ
diff --git a/content/blog/figure1/figure-review-mari-sega.webp b/content/blog/figure1/figure-review-mari-sega.webp
new file mode 100644
index 0000000..566df8a
Binary files /dev/null and b/content/blog/figure1/figure-review-mari-sega.webp differ
diff --git a/content/blog/figure1/index.md b/content/blog/figure1/index.md
index 013c147..44879ee 100644
--- a/content/blog/figure1/index.md
+++ b/content/blog/figure1/index.md
@@ -21,7 +21,7 @@ didn't preorder her on your typical reseller website but instead got her a littl
This is one of the few times that I think the figure looks much better than it does in real life than the photos provided by the company:
-
+
(Seriously?? Why doesn't she have _any_ background? I understand she is a prize figure but come on.)
The materials are surprisingly decent, and it has a nice premium feel to it, but she doesn't end up looking too glossy. The paint
diff --git a/content/blog/img/IMG_0246.jpg b/content/blog/img/IMG_0246.jpg
deleted file mode 100644
index 7cc123b..0000000
Binary files a/content/blog/img/IMG_0246.jpg and /dev/null differ
diff --git a/content/blog/img/JezVKVk.mp4 b/content/blog/img/JezVKVk.mp4
deleted file mode 100644
index 78ab505..0000000
Binary files a/content/blog/img/JezVKVk.mp4 and /dev/null differ
diff --git a/content/blog/img/PrismEditor_BT44VWksFY.png b/content/blog/img/PrismEditor_BT44VWksFY.png
deleted file mode 100644
index 58158a8..0000000
Binary files a/content/blog/img/PrismEditor_BT44VWksFY.png and /dev/null differ
diff --git a/content/blog/img/PrismEditor_Okvgr9cuI3.png b/content/blog/img/PrismEditor_Okvgr9cuI3.png
deleted file mode 100644
index 3a63623..0000000
Binary files a/content/blog/img/PrismEditor_Okvgr9cuI3.png and /dev/null differ
diff --git a/content/blog/img/YAnFAQ140M.png b/content/blog/img/YAnFAQ140M.png
deleted file mode 100644
index dac3c82..0000000
Binary files a/content/blog/img/YAnFAQ140M.png and /dev/null differ
diff --git a/content/blog/img/masto-screen.png b/content/blog/img/masto-screen.png
deleted file mode 100644
index a8eb543..0000000
Binary files a/content/blog/img/masto-screen.png and /dev/null differ
diff --git a/content/blog/img/prism-on-mac-vulkan.png b/content/blog/img/prism-on-mac-vulkan.png
deleted file mode 100644
index 3bbdaa1..0000000
Binary files a/content/blog/img/prism-on-mac-vulkan.png and /dev/null differ
diff --git a/content/blog/img/vkconfig-mac.png b/content/blog/img/vkconfig-mac.png
deleted file mode 100644
index 1c57d5e..0000000
Binary files a/content/blog/img/vkconfig-mac.png and /dev/null differ
diff --git a/content/blog/opening-kaddressbook-addresses-with-kde-marble.md b/content/blog/opening-addresses/index.md
similarity index 94%
rename from content/blog/opening-kaddressbook-addresses-with-kde-marble.md
rename to content/blog/opening-addresses/index.md
index 53413d1..5f638de 100644
--- a/content/blog/opening-kaddressbook-addresses-with-kde-marble.md
+++ b/content/blog/opening-addresses/index.md
@@ -16,7 +16,7 @@ But I learned that [KDE Marble](https://marble.kde.org/) exists, a native KDE ap
1. We set the "Show Address" to open an "External Application", this is where we'll call our python script `geo.py`:
-
+
The full command is:
@@ -46,7 +46,7 @@ This is actually quite interesting, as I would think KAddressBook would have thi
So this is where Nominatim comes in, which as said before - is a service run by OpenStreetMap. Its API is extremely simple, which is perfect. I originally tried to only do this in Shell and CURL, but it turned out to be much easier just to use GeoPy and Python.
-
+
Then, you'll notice if you don't add any extra arguments to Marble, it'll open up super far away and also in a weird default view that's not suitable for viewing addresses. Luckily, the developers already added some nice arguments to allow us to change this default behavior:
@@ -54,4 +54,4 @@ Then, you'll notice if you don't add any extra arguments to Marble, it'll open u
This will set the initial distance to "0 km" and also changes the map view to OpenStreetMap, perfect!
-
+
diff --git a/content/blog/img/kaddressbook-settings.png b/content/blog/opening-addresses/kaddressbook-settings.png
similarity index 100%
rename from content/blog/img/kaddressbook-settings.png
rename to content/blog/opening-addresses/kaddressbook-settings.png
diff --git a/content/blog/img/kdemarble-faraway.png b/content/blog/opening-addresses/kdemarble-faraway.png
similarity index 100%
rename from content/blog/img/kdemarble-faraway.png
rename to content/blog/opening-addresses/kdemarble-faraway.png
diff --git a/content/blog/img/kdemarble-fixed.png b/content/blog/opening-addresses/kdemarble-fixed.png
similarity index 100%
rename from content/blog/img/kdemarble-fixed.png
rename to content/blog/opening-addresses/kdemarble-fixed.png
diff --git a/content/blog/prism-changes-feb-april-2021/PrismEditor_BT44VWksFY.webp b/content/blog/prism-changes-feb-april-2021/PrismEditor_BT44VWksFY.webp
new file mode 100644
index 0000000..db261be
Binary files /dev/null and b/content/blog/prism-changes-feb-april-2021/PrismEditor_BT44VWksFY.webp differ
diff --git a/content/blog/prism-changes-feb-april-2021/PrismEditor_Okvgr9cuI3.webp b/content/blog/prism-changes-feb-april-2021/PrismEditor_Okvgr9cuI3.webp
new file mode 100644
index 0000000..b663ca2
Binary files /dev/null and b/content/blog/prism-changes-feb-april-2021/PrismEditor_Okvgr9cuI3.webp differ
diff --git a/content/blog/prism-changes-feb-april-2021.md b/content/blog/prism-changes-feb-april-2021/index.md
similarity index 96%
rename from content/blog/prism-changes-feb-april-2021.md
rename to content/blog/prism-changes-feb-april-2021/index.md
index cb2c612..614d076 100644
--- a/content/blog/prism-changes-feb-april-2021.md
+++ b/content/blog/prism-changes-feb-april-2021/index.md
@@ -18,7 +18,7 @@ The Vulkan backend is moving very quickly to reach feature parity soon with the
fully usable for most tasks on Windows and Linux! The main roadblock right now is implementing the last of the
functionality required for IBL and some other graphical features.
-
+
_This is the Material editor running on Vulkan, on Windows_
### SDL2 is the new default windowing system for Windows and Linux
@@ -35,7 +35,13 @@ Right now SDL is used for Windows and Linux, and I have no plans on supporting i
### Windows now has multiviewports!
-{{< youtube 1WGRgIb9WJI >}}
+{{< rawhtml >}}
+
+
+
+{{< /rawhtml >}}
This is a pretty and clear nice benefit from using the SDL backend, because now it gets multiviewport support for free! If you've never seen this [dear imgui feature before](https://github.com/ocornut/imgui/wiki/Multi-Viewports), it's really cool to see it in action. It allows regular imgui windows to be dragged outside the main window, and enables some really cool workflows and use-cases you would normally see in other GUI toolkits like Qt and GTK.
@@ -43,7 +49,7 @@ This is a pretty and clear nice benefit from using the SDL backend, because now
Before if you wanted to render to another window, static image, viewport you were required to create a whole new renderer instance. This was bad design for a multitude of reasons - duplicated work, resources and lack of proper cohesion or synchronization. This was because a single renderer instance only supported rendering to one target. Now everything is reworked and I can use just one renderer instance for the whole engine, even down to the tooling!
-
+
_This is two editor viewports running at the same time in two different windows, something not possible before under the old system._
The new render target system is also the backbone of the new cross-platform dear imgui multi-viewport support (try saying that 5x fast!) The API is also extremely easy to use:
diff --git a/content/blog/prism-changes-feb-april-2021/weewoo.webm b/content/blog/prism-changes-feb-april-2021/weewoo.webm
new file mode 100644
index 0000000..d8edb2d
Binary files /dev/null and b/content/blog/prism-changes-feb-april-2021/weewoo.webm differ
diff --git a/content/blog/prism-changes-may-march-2022/IMG_0246.webp b/content/blog/prism-changes-may-march-2022/IMG_0246.webp
new file mode 100644
index 0000000..9d214b9
Binary files /dev/null and b/content/blog/prism-changes-may-march-2022/IMG_0246.webp differ
diff --git a/content/blog/prism-changes-may-march-2022/JezVKVk.webm b/content/blog/prism-changes-may-march-2022/JezVKVk.webm
new file mode 100644
index 0000000..b082729
Binary files /dev/null and b/content/blog/prism-changes-may-march-2022/JezVKVk.webm differ
diff --git a/content/blog/prism-changes-may-march-2022.md b/content/blog/prism-changes-may-march-2022/index.md
similarity index 96%
rename from content/blog/prism-changes-may-march-2022.md
rename to content/blog/prism-changes-may-march-2022/index.md
index 4470fba..cd5d710 100644
--- a/content/blog/prism-changes-may-march-2022.md
+++ b/content/blog/prism-changes-may-march-2022/index.md
@@ -24,7 +24,7 @@ It wasn't until I realized that I'm pulling apart my engine for no good reason j
I recently was able to get a [nice Windows setup going](https://knockout.chat/thread/25747/28#post-1207745), so now DX12 support is going to finally begin. This is one of the last APIs I plan to support officially, so this is exciting. Now I don't have any real excuse to not support this API.
-
+
### Moving away from Objective-C
@@ -45,7 +45,7 @@ Of course, this is only if the platform supports those APIs, and it's significan
### Vulkan is now a first-class GFX backend
You've seen that Vulkan has been a focus in the last changelog, but now since then it's now has first-class support for all the available graphics functions. There's also a slew of renderer changes that exclusively focus around fixing some broken PCSS among other things, in preparation of making a nicer example app.
-Also part of this slew of changes is MoltenVK being fully supported by the Vulkan backend. More is detailed [in the related blog post]({{< ref "the-death-of-gfx" >}}), but we enable the portability subset if detected.
+Also part of this slew of changes is MoltenVK being fully supported by the Vulkan backend. More is detailed [in the related blog post]({{< ref "death-of-gfx" >}}), but we enable the portability subset if detected.
### Example application available
There's now a real, working example application available
@@ -54,12 +54,11 @@ right in the source code repository. This has technically been around since the
{{< rawhtml >}}
{{< /rawhtml >}}
-
### Material system is being reworked
I ripped out the old material system, and now it's going to be replaced with something way, way simpler. It was insanely complex, and had really no reason to exist. It was also the cause of a bunch of bugs.
diff --git a/content/blog/purging-twitter.md b/content/blog/purging-twitter/index.md
similarity index 97%
rename from content/blog/purging-twitter.md
rename to content/blog/purging-twitter/index.md
index 739077c..80e3c8f 100644
--- a/content/blog/purging-twitter.md
+++ b/content/blog/purging-twitter/index.md
@@ -16,4 +16,6 @@ In my series of purging my content on proprietary platforms I don't align with a
I don't even receive much traffic on the site and I managed to completely cut off my Twitter addiction over the past couple of years, so I think this is the best time to do this. Right now my Twitter profile is set to private, as I still need it for DMs and my Knockout login, but I plan to completely sunset it sometime next year. If you still wish to read my microblogs, you can follow me from any ActivityPub-compliant service such as Mastodon/Pleroma/Pixelfed, etc at [@redstrate@pyra.sh](https://pyra.sh/redstrate).
+
+
All of my previous tweets are now deleted however there was some Twitter-exclusive artwork that I didn't realize wasn't posted anywhere else, so I did some reorganizing of my [gallery](/gallery)!
diff --git a/content/blog/purging-twitter/masto-screen.webp b/content/blog/purging-twitter/masto-screen.webp
new file mode 100644
index 0000000..6060dac
Binary files /dev/null and b/content/blog/purging-twitter/masto-screen.webp differ
diff --git a/themes/red/layouts/_default/_markup/render-image.html b/themes/red/layouts/_default/_markup/render-image.html
index 22f0fa3..2c92afc 100644
--- a/themes/red/layouts/_default/_markup/render-image.html
+++ b/themes/red/layouts/_default/_markup/render-image.html
@@ -9,9 +9,17 @@
-
+{{ if eq .MediaType.SubType "svg" }}
+
+{{ else }}
+
+{{ end }}
{{ $.Text }}
+{{- else -}}
+
+Unable to find image {{ $url }}!
+
{{- end -}}