Hugo Randomizers

Problem: Sometimes it’s about sending a message. Here the message is that the exact facts don’t matter. To that end I want to inject some randomness into these posts, but only I will know what is true and what is not as. At build time the page should be able to; randomly select dates from a range randomly select words from a list randomly select a time from a range As the world exists in my mind this website exists in the world. Ever changing and no constants. The next time you look it will be different, or was it always that way? ...

November 10, 2024

touchy

Problem: Working with hugo (the framework used for this website) you have to create a new file for each new post, and while there is a convience method provided in the hugo command that will create a new content file it’s invocation is not something I’ve committed to memory. Instead of taking 5 minutes to commit it to memory or let it happen over time I’ve instead decided to waste an hour of my limited free time and implement my own way of handling this in a generic way that can be used for the same sort of idea (template default files). ...

November 10, 2024