Refactoring and (A)I
For two days I have been migrating my blog from Hugo to Eleventy via the markdown pages, and the photos via Ghost Export for Wordpress. In the process I achieved a goal, and then AI broke things, so I achieved them again, and then AI broke them again.
The favourite thing for Ai, and Gemini, in particular to break was the logic that took the markdown titles, matched them to a json file, and then helped 11ty marry the photo with the correct post. When it worked it was brilliant, but when it broke I would spend half a day trying to fix it. By the third time this happened I decided to ask Gemini to help me write a script to hard code the image path straight into markdown pages.