diff --git a/config/_default/author.yaml b/config/_default/author.yaml deleted file mode 100644 index 145eed7..0000000 --- a/config/_default/author.yaml +++ /dev/null @@ -1,2 +0,0 @@ -name: Eryn Wells -email: eryn@erynwells.me diff --git a/config/_default/params.yaml b/config/_default/params.yaml index 7776efd..9a44e25 100644 --- a/config/_default/params.yaml +++ b/config/_default/params.yaml @@ -1,3 +1,7 @@ +author: + name: Eryn Wells + email: eryn@erynwells.me + shortTitle: Eryn Wells twitter: erynofwales diff --git a/content/blog/2020/10/boot-raspberry-pi-over-tftp.md b/content/blog/2020/10/boot-raspberry-pi-over-tftp.md index 8cfef8b..3143677 100644 --- a/content/blog/2020/10/boot-raspberry-pi-over-tftp.md +++ b/content/blog/2020/10/boot-raspberry-pi-over-tftp.md @@ -1,7 +1,7 @@ --- title: "Booting a Raspberry Pi Over TFTP" date: 2020-10-13T08:31:52-07:00 -draft: false +description: A writeup of how I set up a Raspberry Pi to boot over TFTP to facilitate an operating system development project. series: ["Raspberry Pi OS Development"] categories: ["Tech"] tags: ["Raspberry Pi", "Networking"] diff --git a/content/blog/2022/05/roguelikes-i-like/index.md b/content/blog/2022/05/roguelikes-i-like/index.md index 305dbf5..c8bc0d4 100644 --- a/content/blog/2022/05/roguelikes-i-like/index.md +++ b/content/blog/2022/05/roguelikes-i-like/index.md @@ -1,6 +1,7 @@ --- title: "Roguelikes I Like" date: 2022-05-09T08:37:23-07:00 +description: Some roguelikes I’ve enjoyed recently. draft: false resources: - name: nethack diff --git a/content/blog/2022/08/audio-scope-with-p5js/index.md b/content/blog/2022/08/audio-scope-with-p5js/index.md index 142398b..7171876 100644 --- a/content/blog/2022/08/audio-scope-with-p5js/index.md +++ b/content/blog/2022/08/audio-scope-with-p5js/index.md @@ -1,7 +1,7 @@ --- title: "Making an Audio Scope with P5.js" date: 2022-08-18T20:48:37-07:00 -draft: false +description: A writeup of a small JavaScript waveform visualizer I made with P5.js. categories: ["Tech"] tags: ["P5.js", "Programming", "Web", "Art"] resources: diff --git a/content/blog/2022/10/hugo-dictionary-api/index.md b/content/blog/2022/10/hugo-dictionary-api/index.md index b615b18..09183eb 100644 --- a/content/blog/2022/10/hugo-dictionary-api/index.md +++ b/content/blog/2022/10/hugo-dictionary-api/index.md @@ -1,6 +1,7 @@ --- title: "Hugo's Dictionary API" date: 2022-10-13T10:19:02-07:00 +description: I’ve found Hugo’s API for collections to be difficult to understand. Here’s my attempt to summarize it’s quirks. categories: ["Tech"] tags: ["Hugo", "Web", "API Design"] series: "Erynwells.me Development" diff --git a/content/blog/2022/11/lunar-eclipse.md b/content/blog/2022/11/lunar-eclipse.md index 1276dc0..94a565d 100644 --- a/content/blog/2022/11/lunar-eclipse.md +++ b/content/blog/2022/11/lunar-eclipse.md @@ -1,6 +1,7 @@ --- title: "Lunar Eclipse 🌝" date: 2022-11-07T08:37:45-08:00 +description: A quick note about the upcoming lunar eclipse in the morning of 2022-11-08. categories: Space tags: [Moon, Lunar Eclipse] --- diff --git a/content/blog/2022/11/my-best-nethack-game-so-far/index.md b/content/blog/2022/11/my-best-nethack-game-so-far/index.md index c3fc28d..c92e830 100644 --- a/content/blog/2022/11/my-best-nethack-game-so-far/index.md +++ b/content/blog/2022/11/my-best-nethack-game-so-far/index.md @@ -1,6 +1,7 @@ --- title: "My Best Nethack Game (So Far)" date: 2022-11-24T09:13:15-05:00 +description: A summary of my best-to-date game of Nethack. categories: ["Games"] tags: ["Nethack", "Roguelikes", "Video Games"] resources: diff --git a/content/blog/2023/netscape-meteors-retrospective/index.md b/content/blog/2023/netscape-meteors-retrospective/index.md index 7519000..e3b9916 100644 --- a/content/blog/2023/netscape-meteors-retrospective/index.md +++ b/content/blog/2023/netscape-meteors-retrospective/index.md @@ -1,8 +1,9 @@ --- title: "Netscape Meteors: Retrospective" date: 2023-08-05T17:14:40-07:00 +description: Someone shared my Netscape Meteors post on the Orange Website, causing it to be moderately viral for a few days. Here’s an update on the web traffic my server received. categories: ["Tech"] -tags: +tags: - History - Meta - Netscape diff --git a/content/blog/2023/netscape-meteors/index.md b/content/blog/2023/netscape-meteors/index.md index 97b3934..ceaeed6 100644 --- a/content/blog/2023/netscape-meteors/index.md +++ b/content/blog/2023/netscape-meteors/index.md @@ -1,6 +1,7 @@ --- title: "Netscape Meteors" date: 2023-08-01T18:23:33-07:00 +description: I went on a hunt to find the "Meteors" loading animation from Netscape back in the 90s, and wrote up my adventure. resources: - name: netscape60 title: Netscape Meteor Loading Animation @@ -14,7 +15,7 @@ resources: - name: rectangular-pixels title: Rectangular Pixels src: rectangular-pixels.png - alt: "A zoomed in screenshot of an animation frame with pixel grid enabled, + alt: "A zoomed in screenshot of an animation frame with pixel grid enabled, showing rectangular pixels" categories: Tech tags: ["Netscape", "History", "Web Browsers", "Web"] diff --git a/content/photos/2023/lotus/index.md b/content/photos/2023/lotus/index.md index c591227..6f619b5 100644 --- a/content/photos/2023/lotus/index.md +++ b/content/photos/2023/lotus/index.md @@ -1,7 +1,12 @@ --- title: "Lotus" date: 2023-10-12T10:09:29-07:00 -tags: +resources: + - name: Lotus + src: 20231008-Lotus.jpg + params: + orientation: horizontal +tags: - Nature - Flowers --- diff --git a/layouts/partials/images/orientation_angle.html b/layouts/partials/images/orientation_angle.html index 7ab2a57..07f73e6 100644 --- a/layouts/partials/images/orientation_angle.html +++ b/layouts/partials/images/orientation_angle.html @@ -1,18 +1,30 @@ {{ $orientation := 0 }} -{{ with (int .Exif.Tags.Orientation) }} - {{/* EXIF orientation is specified as an integer corresponding to a 90º rotation. */}} - {{ if in (slice 1 2) . }} +{{ with .Params.orientation }} + {{ if strings.Contains . "horizontal" }} {{ $orientation = 0 }} - {{ else if in (slice 3 4) . }} + {{ else if strings.Contains . "rotate180" }} {{ $orientation = 180 }} - {{ else if in (slice 5 6) . }} + {{ else if strings.Contains . "rotate90" }} {{ $orientation = 90 }} - {{ else if in (slice 7 8) . }} + {{ else if strings.Contains . "rotate270" }} {{ $orientation = 270 }} {{ end }} {{ else }} - {{ warnf "Image missing orientation: %s" . }} + {{ with (int .Exif.Tags.Orientation) }} + {{/* EXIF orientation is specified as an integer corresponding to a 90º rotation. */}} + {{ if in (slice 1 2) . }} + {{ $orientation = 0 }} + {{ else if in (slice 3 4) . }} + {{ $orientation = 180 }} + {{ else if in (slice 5 6) . }} + {{ $orientation = 90 }} + {{ else if in (slice 7 8) . }} + {{ $orientation = 270 }} + {{ end }} + {{ else }} + {{ warnf "Image missing orientation: %s" . }} + {{ end }} {{ end }} {{ return $orientation }} diff --git a/layouts/shortcodes/img.html b/layouts/shortcodes/img.html index 5016146..419763f 100644 --- a/layouts/shortcodes/img.html +++ b/layouts/shortcodes/img.html @@ -8,9 +8,9 @@ {{/* Space separated list of classes to apply to the tag */}} {{ $classes := .Get "class" }} -{{ $altText := $img.Params.alt | default (.Get "alt") }} +{{ $altText := .Get "alt" | default $img.Params.alt }} {{ if not $altText }} - {{ warnf "Image doesn't have alt text. %s" $img.Permalink }} + {{ warnf "Image doesn't have alt text: %s" $img.RelPermalink }} {{ end }} {{ $resizedImg := $img.Fit "1280x1280" }}