dyreschlock / schlock-website

Personal Website code to be run locally or generate a static website hosted through github pages.
http://theschlock.com/
0 stars 0 forks source link

Add Random Button #54

Closed dyreschlock closed 1 year ago

dyreschlock commented 1 year ago

At the top of the site, add a "Random" button that will randomly select a blog post for the reader.

Obviously, it would have to be done in JavaScript as there is no server-side calls. I guess all of the published uuids could be outputted into a JavaScript array, and then one could be randomly chosen. That'd work. :)

dyreschlock commented 1 year ago

Random Button has been added.

It didn't look good in the top row of links so I put in at the end of the Categories. I think it looks alright. :)