Site

Posts where something interesting happened with the site itself.

Somebody Discovered Fork Awesome

Somebody Discovered Fork Awesome

I already forget how I bumped into Fork Awesome. It was like a whole hour ago.

And yep. Still working on the Nikola port as time permits.

inv note

inv note

$ inv note --title='inv note'

Don’t mind me. I’m just trying an experiment with using Invoke for my site workflow instead of Make.

$ inv serve
SHOW_INFO=1 hugo server --buildDrafts --bind 0.0.0.0 --navigateToChanged
...
Press Ctrl+C to stop

But that’s boring on its own. Here. Have a drawing.

I’ll probably make a proper blog post about Invoke later. Meanwhile, checkout the docs on Getting started.

$ inv publish
Added dark mode for the site

Added dark mode for the site

Got tired of blowing my eyeballs out during evening work.

How? I used prefers-color-scheme. It tries to respect existing light/dark mode settings. Here’s the stylesheet short version.

:root {
  --text-color:                 hsl(0, 0%, 0%);
  --content-background-color:   hsla(0, 0%, 100%, 0.8);
}

@media (prefers-color-scheme: dark) {
  :root {
    --text-color:               hsl(0, 0%, 100%);
    --content-background-color: hsla(0, 0%, 0%, 0.8);
  }
}

#page-content {
   background-color: var(--content-background-color)
   color:            var(--text-color);
}

Choosing a static site generator

If you’re making a site for fun, use something you’ll have fun with

Read on…

Tweaking a Nikola Theme

Tweaking a Nikola Theme

Read on…

Random Geekery a la Gatsby.js

Random Geekery a la Gatsby.js

Finished the Gatsby.js tutorial. Thought I’d dump the live site’s content into the tutorial site. Fiddled a little bit with gatsby-image. (It ignored the RST files, but that’s okay.) I never did change the title.

Random Geekery a la Nikola

Random Geekery a la Nikola

Told you I was checking out Nikola. Importing the live site has been fun. I may have outgrown the default theme though, nice though it is.

No, I haven’t replaced Hugo yet. Just exploring.

Go back to bed

Go back to bed

Building a starter blog with Nikola

Building a starter blog with Nikola

In which I play with another site builder

Read on…

Removing mmark has me grumbly

So the Hugo team is deprecating the mmark Markdown parser. This is an understandable decision. Providing all those options must make Hugo a challenge to maintain and improve.

Well anyways I fixed it — sort of — with some Perl.

I spent my free time wrestling with trivial site details instead of writing posts and having fun. If it was due to my own misguided experimentation, that would be fine. That happens all the time. But no. I had to convert half my site because of someone else’s decisions.

That sort of thing sticks with you.