Nate on Nostr: Mini rant time: So I wanted to have a photo carausel on my blog I manage with Hugo. ...
Mini rant time:
So I wanted to have a photo carausel on my blog I manage with Hugo. Well, it's not supported by Hugo so I'll just get a shortcode, simple right? One didn't work and one didn't work with remote images, so I'll just make my own. Can't be that hard.
I made a bunch of "code" that failed, tried to take my failing code to Dolphin 2.2.1 Mixtral and Chat GPT who couldn't fix my broken code. At this point hours have gone by.
Then I get this bright idea 💡. Hey chat GPT "make me a Hugo shortcode for a photo carousel". Bam, done. All I had to do was give it a second prompt to add a carousel ID (so I can have multiple on the same page) and tweak the image size to be relatively to the screen size (2 characters manually changed). Seems to work flawlessly.
So I wanted to have a photo carausel on my blog I manage with Hugo. Well, it's not supported by Hugo so I'll just get a shortcode, simple right? One didn't work and one didn't work with remote images, so I'll just make my own. Can't be that hard.
I made a bunch of "code" that failed, tried to take my failing code to Dolphin 2.2.1 Mixtral and Chat GPT who couldn't fix my broken code. At this point hours have gone by.
Then I get this bright idea 💡. Hey chat GPT "make me a Hugo shortcode for a photo carousel". Bam, done. All I had to do was give it a second prompt to add a carousel ID (so I can have multiple on the same page) and tweak the image size to be relatively to the screen size (2 characters manually changed). Seems to work flawlessly.