Excursions avatar

I pushed a minor upgrade to the post stats plugin today to fix the build issues with Hugo v0.158. It should now work for all the Hugo versions supported by Micro.blog. Reinstall or look out for an upgrade.

The v2 upgrade also introduced a few customisation options.

Plugin Settings

Two settings are available directly in the plugin configuration on Micro.blog:

  • Remove Year Recap section from the stats page — Hides the Year Recap block at the top of the stats page, showing only the detailed all-time stats.
  • Use the original minimal stats layout — Switches back to the original table-based stats layout introduced in v1, instead of the new card/chart design in v2.

CSS Variables

The plugin’s appearance can be customised by overriding CSS variables in your blog’s custom CSS at :root { }.

Colors

  • --ps-accent — Primary chart/highlight color (default: #3b82f6 blue)
  • --ps-accent-light — Chart fill/background tint (default: rgba(59,130,246,0.12))
  • --ps-accent-muted — Secondary chart accent, e.g. hover states (default: rgba(59,130,246,0.35))
  • --ps-up — Trend arrow color when count increased (default: #22c55e green)
  • --ps-down — Trend arrow color when count decreased (default: #ef4444 red)
  • --ps-neutral — Trend arrow color when unchanged (default: #94a3b8 grey)

Layout & Shape

  • --ps-gap — Spacing between cards/sections (default: 1rem)
  • --ps-radius — Border radius on cards (default: 10px)

Borders & Shadows

  • --ps-border — Card border color (default: rgba(128,128,128,0.15))
  • --ps-shadow — Card shadow (default: subtle 1px drop shadow + border ring)

Opacity

  • --ps-muted — Opacity for de-emphasised elements (default: 0.5)

Watched: Project Hail Mary 🍿

Oh, I haven’t had this much fun in the theatre for a while now. Went with family, with a few folks not generally interested in scifi. They enjoyed it as well. Ryan Gosling played the lead perfectly – he made the whole theatre laugh out loud at multiple moments.

Revamping Post Stats

Of all the dev projects I have created, the post stats plugin for Micro.blog has been close to me. It gave me insights about my writing that I loved.

Since I published the first version of this plugin in December 2021, I have wanted to revamp the stats page. I had accumulated a list of insights that were not present, but needed to be.

With v2, they do — a complete rebuild, not a minor update. Here’s the snapshot (demo).

How long does it take to read everything you’ve ever written? What’s your longest posting streak? When do you actually post? v2 answers all of this in a modern card-based layout.

I have already discovered that I had a 65-day posting streak back in early 2022 — I had no idea. Or that I post equally across the days of the week. Apparently, I’m more consistent than I thought.

Head over to the plugins page to upgrade to v2. Let me know what’s missing.

Spent an hour today writing a post that eventually felt inauthentic. I only realised after writing it that I had no opinion on the topic. Why did I think I needed to have one?

It happens a lot when I read meta posts on writing. I tend to get swayed and believe that I ought to contribute. I don’t.

A peaceful corner at a hospital that I had to visit recently - much needed calm for people going through a lot within.

I generally do not enjoy rock or rap songs. But I am enjoying the soundtracks from Dhurandhar. Good vibe.

I have been away from the Arc browser for a while now—basically, the sidebar interface. I tried going back to it with the Zen browser, and it’s frustratingly ineffective. It’s not the best view for the tabs. Kinda limits me.