Open alifeee opened 11 months ago
It would be useful to be able to visit
https://registry.jsonresume.org/thomasdavis?theme=random
and it redirect you to a random theme.
This could be as simple as making ?theme=random a special endpoint, and returning something like
?theme=random
<!DOCTYPE html> <html lang="en"> <head> <script> // redirect options = ["kendall", "onepage", "simple"]; window.location.href = "https://registry.jsonresume.org/thomasdavis?theme=" + options[Math.floor(Math.random() * options.length)]; </script> </head> </html>
I like this idea, will do.
I think the random choice of the random theme should and can easily be done on the server side.
It would be useful to be able to visit
https://registry.jsonresume.org/thomasdavis?theme=random
and it redirect you to a random theme.
This could be as simple as making
?theme=random
a special endpoint, and returning something like