it-from-bit / metalsmith-geekwiki.io

Metalsmith project for geekwiki.io
http://geekwiki.io
2 stars 0 forks source link

Article Title Changelog and Redirect #31

Open ghatch opened 7 years ago

ghatch commented 7 years ago

When articles are renamed, the .html file also gets renamed, there needs to be a way to keep track of these changes, and return a 301 redirect to the correct URL

ghatch commented 7 years ago

There already is a *metalsmith-rename article, but what needs to be automated, is the logic to save what URL/article gets redirect to what