$ ❯ CrowderSoup

A website about programming, technology, and life.

hugo

Day 2: Fixing my Hugo BaseURL

by Aaron Crowder on in Projects

Yesterday I embarked on 100 Days of IndieWeb. Blog first, distribution second. Write first, edit later. I also wrote that I hoped to find/fix issues and streamline my posting process. Bryce Wray was kind enough to point out that I had an issue with relative links in my RSS feed. I was able to fix the issue by setting the BaseURL config value in my config.toml. The issue I had to tackle wasn’t just setting the value, I had to set it based on environment.

Read more...

(The Long Road) Back to Hugo

by Aaron Crowder on in Site Updates hugo

Once upon a time there was a full-stack software developer who could NOT stop redoing his personal Website. I think this might be the 50th or 60th time I’ve done it in the last 10ish years that I’ve owned this domain. I have used all sorts of content management systems (even wrote a couple of my own) and static site generators. WordPress, OctoberCMS, Pelican, Hugo, etc. But I keep coming back to Hugo.

Read more...

Basics Plus: A new Hugo Theme

by Aaron Crowder on in Site Updates

This site has had a couple new themes lately, but I’ve finally settled on one: Basics Plus. This is actually a theme that I’ve forked from Basics. It’s a fairly simple and paired down theme. I forked it so that I could change a couple things: The top menu (more dynamic, able to add more items) Add Disqus comments The byline These are some fairly small feature changes. I plan to make more changes / refinements going forward while keeping the clean / simple look and feel.

Read more...

Using Husky to Build Hugo Site

by Aaron Crowder on in Site Updates

I’ve been making some efforts to streamline the publishing process for this site. I’ve read about tools like Netlify and Lektor, but I wanted to keep things as close to a basic Hugo site as possible. To that end, I wanted to use git hooks to run hugo whenever I ran git commit. That way to publish a new post I simply had to write it in markdown, save, commit and push.

Read more...

Moving to Hugo

by Aaron Crowder on in Site Updates

Last night I got the wild hare to migrate my personal site from Pelican to Hugo. I’ve been meaning to do it for a while now, so to give myself the push I needed to get it done I deleted my old personal site from Github. Differences Front Matter Honestly the biggest different for content is “front matter”. Both Hugo and Pelican, as static site generators, use front matter to describe pieces of content.

Read more...