Robert Birming

Bear Nano Blog

I don't know about you, but I sometimes want to post something too small even for a micro blog. For example, a minor update to the Bearming theme.

With that in mind, I've put together something I call Nano Blog (see a live example in the footer of my blog). The idea is to highlight something small and temporary, then replace it with something new. No permalink, no archive, no RSS update. Just a simple, little, here-and-now notice in the form of a short text and an emoji.

It requires Bearming theme 2.0, but can easily be modified to fit your theme. The nano post is written in the footer (Settings -> Header and footer directives -> Footer directive) with the following code:

<div class=”nano”>
<div class=”nanoji”>🐻‍❄️</div>

<div class=”nanoted”>

Just a little note about something. 

</div>
</div>

In your theme, add the following code:

/* Nanolog */
.nano {
  display: flex;
  flex-wrap: wrap;
  gap: var(--size-regular);
  margin: var(--size-large) 0;
  padding: var(--size-micro) var(--size-regular);
  border: 1px solid var(--link-color);
  border-radius: var(--size-nano);
  background: var(--accent-color);
}
.nanoji {
  flex: 0;
  font-size: var(--size-mega);
  min-width: var(--size-mega);
}
.nanoted {
  flex: 1;
  text-align: left;
  overflow-wrap: break-word;
}
.nano blockquote {
  margin: 0;
  padding: 0;
}

And that's all there is to it! Hope it comes in handy.

Nano Blog Shortcuts

I've started putting together some Apple Shortcuts that might come in handy. I'll update the list with more, so keep an eye on this space.

When run, they copy the information to your clipboard, along with the nano blog markup and a related emoji. You can, of course, change both the text and the suggested emoji to your liking before posting.

These are the current ones:

Pro tip: Edit any shortcut and add the ”Open URL” action at the end to get the footer directive page to open when running the shortcut. Here’s an example with my NanoLinks shortcut. Simply change it to your username.

More shortcuts to come. Stay tuned!

#2025 #jan