Below you will find pages that utilize the taxonomy term “Hugo”
Posts
Adding commments to my static web site with hashover
One of my biggest issues with running a static website is that having comments on posts isn’t very straightforward. Thankfully, Hashover exists.
read more
Posts
⌨ Update to my Hugo publish.sh script
I ran in to a little issue with my publish.sh script that I use to automatically publish my site with Hugo. I wipe out the public folder and then rebuild the site with Hugo. After that is done, the public folder is synced to the web host, using the --delete option. The problem arises if Hugo encounters an error. The site isn’t rebuilt but the now empty public folder is synced, wiping out the website.
read more
Posts
📟 Updates to my autosched script to schedule posts with Hugo
A couple of weeks ago I posted how I schedule posts with Hugo. At the time, I had two scripts. The first one automatically selected the next day to schedule, while the other script let you pick the day. I’ve now combined the two. Here you go, the finished autosched:
#!/bin/bash # Set these to where you want the posts to go and where you # want to archive the posts postsdir="${HOME}/Web/gozgeek.
read more
Posts
💻 Scheduling and automating posts in a Hugo site
I’ve been working on a new little geeking site over at GozGeek.com as a way to share little geeky things I find on the internet and also write about my own geekspirations. Previously I would have created the site in Wordpress, but I wanted to learn Hugo so that’s what I used. One feature I use a lot in Wordpress is the scheduling of publishing posts, so I had to figure out how to do this in Hugo.
read more