________________________________________________________________________________
Author here.
Static site generators, published on Github Pages, are quite popular nowadays. But what about a static URL generator, which allows me to redirect URLs based on static files?
I've never heard about such a thing, and usually I would end-up setting up a server with redirects for this. That is why I ended up creating a small tool called "urlzap".
It generates URLs using files and HTML wizardry, allowing users to host their own URL redirects into Github Pages.
Very clever! I guess it's a JavaScript redirect right?
The config file could probably be simplified even more to be simply:
offer2020: http://mysite.com blog: http://mysite.com/blogs/23
Just an idea
1. There is a little explanation on how I manage to do it on the README, but it uses HTML meta tags for this
https://www.w3.org/TR/WCAG20-TECHS/H76.html
2. I left it in `urls` it allows the YAML to be extended. For example, you can define a `http` field which allows you to run the project in a server (if you want to migrate from static and use 301). But yeah, that was something I was on the fence when deciding the YAML model.