Attention!

Check out my new TESTING page where I hope to continue testing new features. Also, be sure to have a look at my new HIKES site and especially some of the “highlighted” hikes that are listed in bold there.

Note that HIKES used to be a “section” here, but there are a lot of them so I made a site just for them.

Wrap EVERYTHING in NPM!

So, node and npm seem to be all the rage these days, and perhaps for good reason. I recently fell in love with Eleventy/11ty over Hugo because it’s Javascript, not Go, and it’s elegantly simple with tons of flexibility. I recently tried to add Pagefind search to a Hugo static web site (see https://static.grinnell.edu/dlad-blog/posts/143-significant-rootstalk-retooling/). If Rootstalk, an Azure Static Web App was framed in node.js, as both Eleventy and Pagefind are, there would be no problem. The Azure scripts used to deploy those frameworks are far more customizable than Hugo, and there’s documentation to prove it.

Continue Reading »
First Matomo Update

Been prompted to do this for a couple of weeks so I finally took-the-plunge. https://analytics.summittservices.com/index.php?module=CoreUpdater&action=newVersionAvailable.

Wow, that was way too easy. I wonder if it really worked?

A Pagefind Problem?

Not Just a Hugo Issue

Take note of the question mark at the end of the title, otherwise it could be somewhat misleading. This is not really a problem with Hugo, but one with cloud deployment of Hugo static apps, particularly as an Azure Static Web App.

The Nutshell

As you may know from post 143, I have successfully installed and configured Pagefind in Rootstalk, but thus far it only works locally. When I try to deploy Pagefind to the cloud, specifically as an Azure Static Web App, I can’t make it work because there’s no apparent way to invoke the necessary npx pagefind... command AFTER Hugo compiles the site, but BEFORE the site gets deployed. Azure leverages GitHub Actions to build Hugo sites, but that process also involves some custom/proprietary Azure scripts. Therein lies the problem.

Continue Reading »
Wrapping Hugo in NPM

I ran into a big road block with implementation of Pagefind in Rootstalk today… everything works fine in development, but I can’t easily deploy to Azure because there’s no way to “inject” Pagefind into an Azure Static Web App build before the “public” content gets deployed. I can generate the Pagefind parts after deployment, but that does me no good.

Tomorrow I need to have a look at my Rootstalk DigitalOcean deployment to see if what I already have might work there (DO uses a build script that I can add an npx... command to). If that fails I need to look back at https://www.blogtrack.io/blog/powerful-blog-setup-with-hugo-and-npm/ to see if there’s a solution there for me.

-/-/-/

location: Toledo, IA

Lawn is Looking Better

Mowing the lawn this evening and I’m happy to report that most of the weeds I treated last evening have curling leaves.  As Young Frankenstein might say… This could work!

Applied BioAdvanced Concentrate Season-Long Weed Killer

Today I applied one bottle (29 oz.) of BioAdvanced™ Concentrate Season Long Weed Killer to my entire lawn in 9 applications using my Ryobi 1-gallon chemical sprayer. Mix was 3.5oz per tank with each application covering about 500 square feet.

We shall see how it performs. See https://bioadvanced.com/season-long-weed-control-for-lawns for more details.

mixture: 704050A MenardsSKU: 2634119

Fathers and Sons

Traveled to Iowa City to see Luis A. perform in a production of “Fathers and Sons” at the University of Iowa, part of the annual New Plays Festival there. Found a geocache outside the theatre after the show.

Middle School Soccer Dual

My back isn’t as sore this morning as I expected it might be. I did ref some middle school soccer matches last night on a VERY hard field at STC. Managed to trip over a sprinkler head that I don’t think has been “used” in years.

Cold Morning Clear Lake

Camping at Clear Lake State Park and I have to admit it’s cold. My phone says the temp is 37°F and my little space heater appears to be broken. It gets warm but the fan doesn’t work so that’s all. Heading to the shower, then breakfast at TJs, then to Menards for a new space heater!

PCA Weekend

Departing for the PCA (Peoples’ Choice Awards) weekend in Clear Lake / Mason City. Got The Some IT in tow. First camping of the season.