commit 5b0d92444a1a58a486241e6ff06ca25d63a06f10
parent 3a772dd863f7dc29dcaab112024b4a24a658f23a
Author: MichaĆ Sapka <michal@sapka.me>
Date: Sun, 5 Feb 2023 22:48:03 +0100
feat: article for 2023-02-05
Diffstat:
4 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/assets/content_images/bsd-beastie.png b/assets/content_images/bsd-beastie.png
Binary files differ.
diff --git a/content/2023/new-domain-bsd-and-sayonara-memes.md b/content/2023/new-domain-bsd-and-sayonara-memes.md
@@ -0,0 +1,31 @@
+---
+title: "New Domain, BSD and Sayonara Memes!"
+category: "blog"
+abstract: this site is now running on FreeBSD!
+date: 2023-02-05T21:53:03+01:00
+year: 2023
+draft: false
+tags: ['bsd', 'freebsd', 'domain', 'vultr', 'memes', 'meta', 'rubenerd', 'se30']
+---
+It's technical Sunday. I have three updates for you.
+
+### New domain
+
+Having a name/surname domain was getting on my nerves. Now it's based on my IRC nick (d-s). I really like the TLD ".sh," so that's a bonus.
+
+### BSD-powered
+
+Since I am already changing domains, why not go all out? I have been curious about BSD for some time. [A coworker](https://se30.xyz/),
+{{<img-pull-right "bsd-beastie.png" "FreeBSD Bestie">}}
+[a blogger](https://rubeners.xyz), https://vermaden.wordpress.com/2020/09/07/quare-freebsd/) has sold me BSD. So why not run on a server? So starting today, this site is powered by [FreeBSD](https://www.freebsd.org/) running on [Vultr](https://www.vultr.com/?ref=9354158-8H). Spinning the service took 5 minutes, and having the site running on it another 30. I am sure there will be downtimes soon, as I have never used BSD before sans MacOS. But the first impressions are great! Everything is logical, and the documentation is as good as everyone said.
+
+And FreeBSD has the cutest mascot ever!
+
+If my current impressions don't change, I'll likely move from GNU/Linux.
+
+Now, the migration is still ongoing. There's still the git server and SEO to manage. But the first step is entirely done.
+
+### Sayonara Memes
+
+This was a failed experiment. I like words, and I feel no joy from updating the site. For now, it's removed from the top menu, but I'll phase it out entirely soon. I am the type of person who sends emails in plain text and disables graphics from Slack.
+
diff --git a/layouts/shortcodes/img-pull-right.html b/layouts/shortcodes/img-pull-right.html
@@ -0,0 +1,6 @@
+{{- $file := .Get 0 }}
+{{- $path := printf "content_images/%s" $file}}
+{{- $img := resources.Get $path }}
+{{- $img = $img.Resize "150x" }}
+{{- $caption := .Get 1}}
+ <img class="float-right" alt="{{ $caption }}" src="{{ $img.Permalink }}" width="{{ $img.Width }}" height="{{ $img.Height }}">
diff --git a/static/style.css b/static/style.css
@@ -128,6 +128,10 @@
article a {
text-decoration: underline;
}
+ img.float-right {
+ float: right;
+ display: inline;
+ }
.next-link {
float: right;
}