michal-sapka-me

Codebase for my homepage.
git clone git://vcs.sapka.me/michal-sapka-me
Log | Files | Refs

commit f1418234ce3f53438d2fd39c2f35aa0834f012c6
parent 438513882698608b2d22d9d0c74cb331877da445
Author: MichaƂ M. Sapka <michal@sapka.me>
Date:   Wed, 19 Jul 2023 13:05:48 +0200

feat: add OpenBSD to about

Diffstat:
Mcontent/about.md | 3++-
Mlayouts/shortcodes/causes.html | 10+++++++++-
Aresources/_gen/images/openbsd_hu8ba52b514a194f41f5a20331e2c30b2a_152276_125x0_resize_q90_h2_box_3.webp | 0
3 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/content/about.md b/content/about.md @@ -14,10 +14,11 @@ After work I am a husband and a father - the only reason I ever leave my home. Here are a few cool links: - [FreeBSD](https://freebsd.org/), an OS I am using +- [OpenBSD](https://openbsd.org/), an OS serving this site - [Emacs](https://www.gnu.org/software/emacs/), an editor (and much more) I use - [Ruby](https://www.ruby-lang.org/), the language I work with daily - [Sapka](https://en.wikipedia.org/wiki/Ushanka), a hat I have never worn but an named for -- [Vultr](https://www.vultr.com/?ref=9354157), a VPS provider who I pay 5USD per month for a FreeBSD virtual machine +- [OpenBSD Amsterdam](https://openbsd.amsterdam), a VPS provider of OpenBSD VMs serving this site - [Hugo](https://gohugo.io/), a static site generator powering this site More cool links can be found under [links](/links). diff --git a/layouts/shortcodes/causes.html b/layouts/shortcodes/causes.html @@ -14,6 +14,14 @@ {{- $img1x := $img.Resize "125x webp q90"}} <a href="https://freebsdfoundation.org/donate" target="_blank"> - <img src="{{$img1x.Permalink}}" width="{{$img1x.Width}}" height="{{$img1x.Height}}" alt="Proud Donor" title="FreeBSD Foundation Donor" > + <img src="{{$img1x.Permalink}}" width="{{$img1x.Width}}" height="{{$img1x.Height}}" alt="Proud Donor" title="FreeBSD Foundation Donor" > +</a> +{{- $file := "openbsd.png" }} +{{- $path := printf "content_images/%s" $file}} +{{- $img := resources.Get $path }} +{{- $img1x := $img.Resize "125x webp q90"}} + +<a href="https://www.openbsdfoundation.org/donations.html" target="_blank"> + <img src="{{$img1x.Permalink}}" width="{{$img1x.Width}}" height="{{$img1x.Height}}" alt="Donate to OpenBSD" title="Donate to OpenBSD" > </a> </div> diff --git a/resources/_gen/images/openbsd_hu8ba52b514a194f41f5a20331e2c30b2a_152276_125x0_resize_q90_h2_box_3.webp b/resources/_gen/images/openbsd_hu8ba52b514a194f41f5a20331e2c30b2a_152276_125x0_resize_q90_h2_box_3.webp Binary files differ.