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.

Today I discovered a slick trick for “local” development of my first Hugo Module. The guidance I used was found in Working with Hugo Module Locally and it was spot-on! In my case the key was the additon of one line, two if you include the comment, to my project’s config.yml file:

// Innocent line below!
replace github.com/SummittDweller/hugo-timeline => /Users/mark/GitHub/hugo-timeline

Yes, you gotta’ love Hugo, but I now think 11ty might be worth a look. Also there’s Hosting Eleventy on GitHub Pages.

My Hugo Timeline, A New Hugo Module

What follows is an excerpt from this blog’s README.md file.

I’ve successfully added the code to drive a new /timeline page as part of this blog, but I did so “locally”, and now I’d like to repeat the process but using the aforementioned SummittDweller/hugo-timeline module.

I used guidance found in Hugo Modules: Getting Started to make this happen, like so:

╭─mark@Marks-Mac-Mini ~/GitHub/blogs-SummittDweller ‹main› 
╰─$ brew install go
╭─mark@Marks-Mac-Mini ~/GitHub/blogs-SummittDweller ‹main› 
╰─$ brew upgrade   # This is not "required", but probably overdue.

╭─mark@Marks-Mac-Mini ~/GitHub/blogs-SummittDweller ‹main*› 
╰─$ mkdir content/timeline/.out-of-the-way      # vvv Moving existing local stuff out of the way vvv
╭─mark@Marks-Mac-Mini ~/GitHub/blogs-SummittDweller ‹main*› 
╰─$ mv -f layouts/partials/hugo-timeline* content/timeline/.out-of-the-way/.   
╭─mark@Marks-Mac-Mini ~/GitHub/blogs-SummittDweller ‹main*› 
╰─$ mv -f layouts/shortcodes/hugo-timeline* content/timeline/.out-of-the-way/.
╭─mark@Marks-Mac-Mini ~/GitHub/blogs-SummittDweller ‹main*› 
╰─$ mv -f static/css/hugo-timeline* content/timeline/.out-of-the-way/.        

╭─mark@Marks-Mac-Mini ~/GitHub/blogs-SummittDweller ‹main*› 
╰─$ hugo mod init github.com/SummittDweller/blogs-SummittDweller        
go: creating new go.mod: module github.com/SummittDweller/blogs-SummittDweller
go: to add module requirements and sums:
        go mod tidy

Next, to pull in SummittDweller/hugo-timeline as a module I turned to the config.yml file and guidance found in Hugo Modules: everything you need to know!. Additions to config.yml are:

Continue Reading »

Ya’ gotta love Hugo! I just completed my first Jekyll-to-Hugo conversion, and made it a Hugo module. It’s taken me a couple of years to realize the power of Hugo modules, and I have to say it’s AWESOME, and perfectly implemented.

The process of conversion briefly is documented in the README.md file at SummittDweller/hugo-timeline, and the first use of it as a module appears elsewhere in this blog at My Hugo Timeline, A New Hugo Module. The timeline itself can be seen at https://blog.SummittDweller.com/timeline. Check it out!

How MY Web Works

I’ve been building websites and apps for a lot of years now, and over time I’ve used a plethora of different frameworks and tools to do so. I’ve also involved a number of registrars, DNS strategies, source code repositories, and web hosts… frankly too many to remember or even count.

In my old age I’d love to have a dynamic document, or two, where I can track things like this:

Continue Reading »

Timeline

Web Nirvana? It dawned on me this morning that both VSCode and Azure are Microsoft things. So, there should be some handy Azure extensions for VSCode, right? Yes, yes indeed there are! I’m installing them now!

Reset Python environment on my Mac Mini using: https://dev.to/aditya005/right-way-to-uninstall-clean-python-on-a-mac-4jfo

Need to remember this address: https://garmin3.bbbike.org/

The Derecho: Consolidated Posts and Microposts: August 10 thru September 6, 2020

The following is a chronological consolidation of posts and microposts from August 10, commonly known in east and central Iowa as “The Day of the Derecho”, through September 6, 2020.

The derecho hit my home in Toledo, Iowa, at about 11:30 AM on Monday, August 10, 2020. Straight-line winds were clocked at nearly 140 miles per hour, and sustained for more than 20 minutes across a path almost 40 miles wide.

The power is still out here, almost 10 days after the derecho knocked it out. So many power restoration predictions have come and gone, I’ve lost count. Still I’m told that what we need is a one-man, 15-minute fix. Perhaps in the morning I’ll stretch our broken power line across the street and pitch a tent next door until an Alliant truck stops and gets this done. I know they are busy, but 15 minutes of one lineman’s time a week ago, when it was first “promised”, would have been so nice. I fixed my own Mediacom connection more than a week ago, and there’s evidence tonight that their service has been restored. So, if I had power, I think we would also have TV and internet. IF.

Continue Reading »