Yesterday I griped about the way Hugo generates RSS feeds for every section and taxonomy, and how it names them all index.xml. Then, not long after I posted my complaints, I found all the answers I’d been seeking.
First, the default RSS handling in Hugo is weird. Anyone who thinks it’s how RSS should work on a website is … well, let’s just use the word wrong and smile in a friendly manner while we do. But it’s wrong.
The good news is, both of my desired changes, having one RSS feed for my blog posts only and having that feed named feed.xml, are quite simple to achieve. All that’s needed are some minor additions to the site config file and an RSS template.
The list of steps to perform are as follows:
- Configure the site to have one single RSS feed in the site’s root directory.
- Configure …
One thing about Hugo that I’m not in love with so far is its default RSS feed handling, which admittedly I most likely don’t fully understand. What I want from my site is specific feeds for specific things, and nothing more. That might sound controlling, but it’s not about that so much as it’s about clarity and organization.
For example, Hugo by default makes an RSS feed for all new content on the site. That means if I create a Contact page or an About page or a Projects page, it gets added into my RSS feed, which seems really stupid it me. Generally people want RSS to follow blog posts or specific topics. That’s what I want too.
In addition to this overall, way too comprehensive feed, Hugo loves to create feeds for every item in every taxonomy type. I don’t want to be rude to whoever decided this was a great idea, but does it really seem likely that anyone wants to follow an RSS feed for tags used in blog posts? …
Code Editor is kind of a 3-in-1 tool for working on websites:
- SSH client,
- FTP client,
- Text editor.
This is the perfect set of features for me for working with Hugo sites because I need to move files around (FTP), edit files (text editor), and compile the site to see my changes (SSH client).
Furthermore, I often use each of these features individually to do some quick task. The FTP functionality alone is pretty valuable ever since Panic discontinued their Transmit FTP app on iOS.
Code Editor is not perfect, however. I’m not going to say I’m hesitant to recommend it, because I’m not, but there are a couple caveats.
First, it’s not a new app and it will eventually be replaced by a new Panic product called Nova. Right …
Rather than post an “ICYMI” to Twitter, I’ll mention a couple recent podcast appearances here instead.
I was fortunate enough to enjoy a two-part appearance on iPad Pros with Tim Chaten, the first episode of which went live yesterday. It’s Episode 69 – Shortcuts and Data Jar with Scott Willsey.
The beauty of the Mac that my Windows-tolerating, Mac-non-understanding friends don’t see is that it runs Unix, and that means it can run everything the entire web is built on and the tools that are used to develop the entire web.
Hugo is no exception. You’re probably not going to want to run production sites from your Mac, but you can get a lot of development work and testing done by running Hugo on a Mac and hacking away at your sites from your local network.
Installing Hugo on macOS is relatively simple using Homebrew.
Homebrew’s marketing technique leaves a bit to be desired:
Homebrew installs the stuff you need that Apple (or your Linux system) didn’t.
Less than convincing, yes, but Homebrew is in fact quite useful. Once Homebrew is installed, getting Hugo on your Mac is just a matter of typing the following in the command line:
I mentioned in my first post on my new parallel universe version of scottwillsey.com that I am using Hugo to generate the site. And Vic and I joked in our Mr. Robot Season 4 podcast on BubbleSort TV that we are now pair programming buddies. Truth is, I have worked a lot with Vic on both the BubbleSort sites and server and on Hugo in general, learning what I needed in order to build this site and prepare for some future projects.
Hugo has a lot of what you need to make a full-featured website built in. It’s highly customizable, and it’s not hard to learn. Like anything, it does take a little time and digging to uncover some of its nuances.
One of the things I’m working on right now is customizing the RSS feeds for the site so I can start linking to them and people can start using them. By …
I love beginnings. New projects, new directions, new things to learn and create.
My personal website is a project with a beginning, and ending, and now another beginning. I have moved it from my old web host and Wordpress to a different platform entirely, for both practical and frivolous reasons.
This site now uses Hugo, a static site generator that has a lot of the benefits of dynamically rendered sites with the performance and increased security of one that doesn’t have a giant code base and sql database behind it. With this change, I get a chance to dig into a new technical challenge as well as to revamp the site’s content and direction.