Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
grammar
  • Loading branch information
ndbroadbent committed Dec 5, 2021
1 parent 6c52229 commit 544cd74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/posts/2021-12-05-how-docker-saved-my-blog.md
Expand Up @@ -10,7 +10,7 @@ I haven't written any blog posts for a while. One reason is that I've been hard

I switched from Jekyll to Hugo in 2017, and the current version of Hugo at the time was [`0.21`](https://gohugo.io/news/0.21-relnotes/). I found a cool theme called [hugo-sustain](https://github.com/suyundukov/hugo-sustain). Everything was great for a few years.

Time passed. One day, I tried to update a post or write a new post (I can't remember which), and I realized that my `build` and `develop` scripts were broken. I was a new computer at that point, and I had updated my macOS version. I installed the latest version of `hugo` and saw a bunch of interesting and confusing error messages when it tried to compile my old themes and layouts. I tried to downgrade `hugo` to version `0.21`, and it crashed with a segfault (it was built for an older version of macOS.) I cloned the `hugo` repository and tried to compile it from source, but my Go version was too new, so it failed to compile. Finally, I downgraded my Go version to an older version that was released around the same time in 2017. I held my breath as I tried to compile `hugo` one last time. Go tried to fetch all of the required dependencies, and crashed with a bunch of 404 errors. Apparently some of the packages had been renamed and moved around, and the older versions had been removed from the Go package index.
Time passed. One day, I tried to update a post or write a new post (I can't remember which.) I realized that my `build` and `develop` scripts were broken. I was a new computer at that point, and I had updated my macOS version. I installed the latest version of `hugo` and saw a bunch of interesting and confusing error messages when it tried to compile my old themes and layouts. I tried to downgrade `hugo` to version `0.21`, and it crashed with a segfault (it was built for an older version of macOS.) I cloned the `hugo` repository and tried to compile it from source, but my Go version was too new, so it failed to compile. Finally, I downgraded my Go version to an older version that was released around the same time in 2017. I held my breath as I tried to compile `hugo` one last time. Go tried to fetch all of the required dependencies, and crashed with a bunch of 404 errors. Apparently some of the packages had been renamed and moved around, and the older versions had been removed from the Go package index.

So I gave up for a while. Instead of generating my blog from the source, I switched to editing the static files directly. Sometimes I would need to correct a typo or adjust some styles, so I'd go into the generated `./public` directory and manually modify the raw HTML and CSS.

Expand Down

0 comments on commit 544cd74

Please sign in to comment.