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.

Fixing a Broken GitHub Repo

Don’t Push Enormous Files to GitHub!

Pay close attention to the subtitle above! A couple of days ago I was working on content for Tama-Toledo Community Visioning and I added a large socialmedia.zip file to the source repo, and then very stupidly pushed it to GitHub and the repo’s main branch. Naturally, the push didn’t finish so I removed the file and pushed a new commit to “remove it permanently”. Well, that ain’t how git works!

Continue Reading »

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/