The Green Shed

I wanted to be able to setup custom layouts per post (or per page) on my Micro.blog site (which runs

Published on December 27, 2024

I wanted to be able to setup custom layouts per post (or per page) on my Micro.blog site (which runs Hugo under the hood).

My hackish solution was to leverage the Categories feature to inject a body class into the page. From there, I can setup as many custom layouts as I want, based on the body tag.

If a Category is named “Layout-*” then whatever comes after “Layout-“ will be injected as a body tag.

For example, “Layout-Aqua” becomes a body tag of “aqua”, which you can see in action here.

Here’s the code I’m using:

{{ $.Scratch.Set "layoutClasses" "" }} {{ range .Params.categories }} {{ $lowerCategory := lower . }} {{ if strings.HasPrefix $lowerCategory "layout-" }} {{ $.Scratch.Set "layoutClasses" (print ($.Scratch.Get "layoutClasses") " " (substr $lowerCategory 7 | urlize)) }} {{ end }} {{ end }}

body class=”{{ $.Scratch.Get “layoutClasses” }}” </code>


In love with this code pen of pure CSS Aqua style buttons by Andrew Millen. Gotta find an excuse to

Published on December 26, 2024

In love with this code pen of pure CSS Aqua style buttons by Andrew Millen. Gotta find an excuse to use this somewhere.


The tools @manton has created for Photo Management here on Micro.blog are great. Alas, I'm super pic

Published on December 23, 2024

The tools @manton has created for Photo Management here on Micro.blog are great. Alas, I’m super picky about photo management, and couldn’t help but give myself a tool to customize it all exactly how I want it.

My sync tool will create a post for each photo, a page for each gallery, and a Galleries page with a link to each. It also uploads a full-size photo to R2 to make available as a “full-sized download.”

The photo title, description, etc. is pulled from exif data that I set via Lightroom when I’m editing photos from a shoot.

Here is the list of galleries I’ve uploaded so far.

Next up: working on the layout/theming of all the pages.


There are still some things about photo handling at Micro.blog that aren't to my taste (I want full-

Published on December 21, 2024

There are still some things about photo handling at Micro.blog that aren’t to my taste (I want full-size uploads available somewhere, for example), but Photo Collections and the robust API that @manton has put together should make it pretty easy to fill in those gaps for myself.


I've been playing with the Photo Collections feature that was recently added to micro.blog.

Published on December 21, 2024

I’ve been playing with the Photo Collections feature that was recently added to micro.blog.

It took me a bit to get the hang of it, but after that it was easy to add a few photo shoots and an index page for them: thegreenshed.org/photoshoo…


Half dome at night. Yosemite National Park. November, 2024.

Published on December 20, 2024

Half dome at night. Yosemite National Park. November, 2024.

A snow-capped Half dome, in Yosemite National Park, towers over the Yosemite Valley floor, on a dark night, just after sunset.


<img src="uploads/2024/dsc03981.jpg" width="600" height="900" alt="">

Published on December 19, 2024

Yosemite Falls. November 2024.


After a multi-year experiment trying to self-host my blog I'm giving up and going back to micro.blog

Published on December 19, 2024

After a multi-year experiment trying to self-host my blog I’m giving up and going back to micro.blog. While it was a fun side-project, the fact is that it got in the way of posting, and I’m tired of that. I don’t have the self-discipline to maintain a blog engine myself, so I’m not going to.


<p><img src="uploads/2024/8e14e7bd48.jpg" loading="lazy"></p>

Published on November 29, 2024

Yosemite National Park California November 29, 2024


Camera: SONY ILCE-7RM4A
Lens: FE 35mm F1.8
Focal Length: 35.0 mm
Aperture: f/8.0
Shutter Speed: 1/20
ISO: 2500
Exposure Compensation: -2

Download Full Size

View all photos in Yosemite


<p><img src="uploads/2024/dsc04001.jpg" loading="lazy"></p>

Published on November 29, 2024

Yosemite National Park California November 29, 2024


Camera: SONY ILCE-7RM4A
Lens: FE 35mm F1.8
Focal Length: 35.0 mm
Aperture: f/8.0
Shutter Speed: 1/40
ISO: 100
Exposure Compensation: -2

Download Full Size

View all photos in Yosemite


<p><img src="uploads/2024/ee96417dbe.jpg" loading="lazy"></p>

Published on November 29, 2024

Yosemite National Park California November 29, 2024


Camera: SONY ILCE-7RM4A
Lens: FE 35mm F1.8
Focal Length: 35.0 mm
Aperture: f/8.0
Shutter Speed: 1/400
ISO: 100
Exposure Compensation: -2

Download Full Size

View all photos in Yosemite


<p><img src="uploads/2024/dsc03445-enhanced-nr.jpg" loading="lazy"></p>

Published on November 23, 2024

Swall Meadows California November 23, 2024


Camera: SONY ILCE-7RM4A
Lens: FE 85mm F1.8
Focal Length: 85.0 mm
Aperture: f/6.3
Shutter Speed: 1/1000
ISO: 100
Exposure Compensation: -2

Download Full Size

View all photos in Eastern Sierra


<p><img src="uploads/2024/dsc03437.jpg" loading="lazy"></p>

Published on November 23, 2024

Bishop California November 23, 2024


Camera: SONY ILCE-7RM4A
Lens: FE 85mm F1.8
Focal Length: 85.0 mm
Aperture: f/6.3
Shutter Speed: 1/2500
ISO: 100
Exposure Compensation: -2

Download Full Size

View all photos in Eastern Sierra


Alan Jacobs nails it:

Published on October 24, 2024

Alan Jacobs nails it:

Warzel errs here in assuming that when people in MAGAworld make declarative statements, and endorse or amplify the declarative statements of others, they do so because they believe those statements to be true.
They don’t; nor do they believe or know them to be false. In my judgment,
truth and falsehood do not at any point enter the frame of reference — such concepts are non-factors, and it is a category mistake to invoke them.

In MAGAworld, declarative statements are not meant to convey information about (as Wittgenstein would put it) what is the case. Declarative statements serve as identity markers — they simultaneously
include and exclude, they simultaneously (a) consolidate the solidarity of people who believe they have shared interests and (b) totally freak out the libtards. That’s what they are for. They are not for conveying Facts, Truth, Reality — nobody cares about that shit. (People who call themselves Truth Seekers are being as ironic as it is possible to be.) Such statements demarcate Inside from Outside in a way that delivers plenty of lulz, and that is their entire function. In that sense only they articulate a kind of dark gospel.

Read the whole thing.


<p><img src="uploads/2024/dsc03349-pano.jpg" loading="lazy"></p>

Published on October 14, 2024

October 14, 2024


Camera: SONY ILCE-7RM4A
Lens: FE 35mm F1.8
Focal Length: 35.0 mm
Aperture: f/8.0
Shutter Speed: 1/2000
ISO: 100
Exposure Compensation: -2

Download Full Size

View all photos in Japan


<p><img src="uploads/2024/dsc03345.jpg" loading="lazy"></p>

Published on October 14, 2024

October 14, 2024


Camera: SONY ILCE-7RM4A
Lens: FE 35mm F1.8
Focal Length: 35.0 mm
Aperture: f/8.0
Shutter Speed: 1/250
ISO: 100
Exposure Compensation: -2

Download Full Size

View all photos in Japan


<p><img src="uploads/2024/dsc03339-pano.jpg" loading="lazy"></p>

Published on October 14, 2024

October 14, 2024


Camera: SONY ILCE-7RM4A
Lens: FE 35mm F1.8
Focal Length: 35.0 mm
Aperture: f/8.0
Shutter Speed: 1/200
ISO: 100
Exposure Compensation: 0

Download Full Size

View all photos in Japan


<p><img src="uploads/2024/dsc03283-enhanced-nr.jpg" loading="lazy"></p>

Published on October 13, 2024

October 13, 2024


Camera: SONY ILCE-7RM4A
Lens: FE 35mm F1.8
Focal Length: 35.0 mm
Aperture: f/1.8
Shutter Speed: 1/40
ISO: 125
Exposure Compensation: -2

Download Full Size

View all photos in Japan


<p><img src="uploads/2024/dsc03282-enhanced-nr.jpg" loading="lazy"></p>

Published on October 13, 2024

October 13, 2024


Camera: SONY ILCE-7RM4A
Lens: FE 35mm F1.8
Focal Length: 35.0 mm
Aperture: f/9.0
Shutter Speed: 1/20
ISO: 1250
Exposure Compensation: -2

Download Full Size

View all photos in Japan


<p><img src="uploads/2024/dsc03265.jpg" loading="lazy"></p>

Published on October 13, 2024

October 13, 2024


Camera: SONY ILCE-7RM4A
Lens: FE 35mm F1.8
Focal Length: 35.0 mm
Aperture: f/2.5
Shutter Speed: 1/2000
ISO: 100
Exposure Compensation: -2

Download Full Size

View all photos in Japan