Link: Moving to new Hugo

In Moving to new Hugo on 08 January 2022 Manton Reece explains more about the process of updating Hugo.

If you do try Hugo 0.91, I’ve already updated the Default and Marfa plug-ins — as well as some built-in Micro.blog templates — to work with the new version. You can install the latest versions of the plug-ins for those themes to get the latest versions, instead of waiting for Micro.blog to update.

Link: Styling Newsletter Digests in Micro.blog

Amit Gawande has some suggestions for CSS to improve Micro.Blog’s optional weekly digest newsletters:

To make the digest look slightly better, here’s the custom CSS that I have added currently.

You can apply this to your digest by including this CSS block to your custom CSS (‘Design’ ⇾ ‘Edit CSS’).

Hide menu items with CSS

Many thanks to @sod for this handy CSS trick to hide menu items:

Question: I want to exclude the Photos page from my Menu. How can I do that?

Answer: One way to do it is by adding custom CSS:

nav a[href='/photos/'] { display: none; }

Another way is by customizing your theme.

That trick could be used to hide other pages too, by switching out the /photos/ portion.

Plugin: Posts Stats

A Micro.blog plugin that displays stats about all the published posts:

A Micro.blog plugin that adds a /stats page to your site to display the stats about all the published posts.

This plugin is built for Micro.blog by @amit.

Link: Pure - A minimal theme for Micro.blog

Chris Hannah writes: Pure - A minimal theme for Micro.blog:

My custom theme is now usable.

I’ve named it Pure, and that’s mainly because I wanted very minimal styling, and to have it be a pure version of a theme. For the benefit of it acting as a “starter” theme for people that want to maybe want to start tweaking a theme but don’t want to start from scratch. But also for people (like me) that sometimes just want a clean and simple blog.

Link: Reply by Email tutorial

On Reply by Email Tutorial, @maique says:

There are 3 steps to achieve this [Reply by Email feature], but basically we’re creating a new “function”, called a partial, and we’ll then edit the template responsible for the single posts to include that partial.

Update: 10 January 2022:

Heads up: there’s no support for having the conversation link on list pages (like the archive or home page). At least not yet. So, for now, you have to move the {{ partial “conversation-link.html” . }} snippet from layouts/_default/list.html to layouts/_default/single.html.

Link: rebuild to get theme to update

Trouble with theme changes? This tip may come in handy:

In reply to a query: I'm trying to switch to the Cypress theme … It doesn't look like the theme when I switch.

… Do you have another custom theme installed that might be interfering? There’s probably an error on the Design page if it didn’t work… Try making sure there’s no custom theme, and then go into Account → Show logs → Rebuild to make it do a full rebuild. (Not usually necessary.)